cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9249) Fix iOS warnings in Media Capture plugin
Date Wed, 02 Sep 2015 19:59:46 GMT

    [ https://issues.apache.org/jira/browse/CB-9249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727921#comment-14727921
] 

Shazron Abdullah commented on CB-9249:
--------------------------------------

Re-tested with Xcode 7b6 and I still get the warning, not sure if its just my machine....

> Fix iOS warnings in Media Capture plugin
> ----------------------------------------
>
>                 Key: CB-9249
>                 URL: https://issues.apache.org/jira/browse/CB-9249
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media Capture
>         Environment: Xcode 6.3.2
>            Reporter: Shazron Abdullah
>            Assignee: Simon MacDonald
>              Labels: cordova-ios-4.0.x
>
> {code}
> CDVCapture.m:519:19: warning: 
>       incompatible pointer types initializing 'NSString *__strong' with an expression
of type 'CGPathRef'
>       (aka 'const struct CGPath *') [-Wincompatible-pointer-types]
>         NSString* moviePath = [[info objectForKey:UIImagePickerControllerMediaURL] path];
>                   ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~CDVCapture.m:819:60:
warning: 
>       comparison of address of 'UIAccessibilityAnnouncementNotification' not equal to
a null pointer is always true
>       [-Wtautological-pointer-compare]
>         BOOL isUIAccessibilityAnnouncementNotification = (&UIAccessibilityAnnouncementNotification
!= NULL);
>                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ~~~~
> 2 warnings generated.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message