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

ASF GitHub Bot commented on CB-3021:
------------------------------------

tripodsan closed pull request #36: CB-3021 OSX : Added "extern" to CDVPlugin.h
URL: https://github.com/apache/cordova-osx/pull/36
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Can no longer import CDVPlugin.h from plugin Objective-C++ code
> ---------------------------------------------------------------
>
>                 Key: CB-3021
>                 URL: https://issues.apache.org/jira/browse/CB-3021
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-osx
>    Affects Versions: 2.6.0
>         Environment: XCode 4.6.1
> OSX 10.8.3
>            Reporter: Ryan Willoughby
>            Assignee: Shazron Abdullah
>            Priority: Major
>              Labels: C++, OSX, Plugins, iOS
>
> As of 2.6.0, importing CDVPlugin.h from C++ source code results in compile 
> errors:
> /CordovaLib/Classes/CDVPlugin.h:26:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:27:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:28:17: Default initialization of an object of 
> const type 'NSString *const'
> /CordovaLib/Classes/CDVPlugin.h:29:17: Default initialization of an object of 
> const type 'NSString *const'
> Install this plugin in a Cordova 2.6.0 project to reproduce:
> https://github.com/wildabeast/BarcodeScanner



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to