You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/20 21:43:00 UTC

[jira] [Resolved] (CB-12435) Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile error

     [ https://issues.apache.org/jira/browse/CB-12435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-12435.
-----------------------------------
    Resolution: Incomplete

> Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile error
> -----------------------------------------------------------------------------------
>
>                 Key: CB-12435
>                 URL: https://issues.apache.org/jira/browse/CB-12435
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-ios
>    Affects Versions: 3.5.0
>            Reporter: Carl
>            Priority: Minor
>
> The Cordova iOS template use C Language Dialect as C99[-std=c99], which will make Xcode complain an error: 
> '__weak' only applies to Objective-C object or block pointer types; type here is 'int'
> and I search google, try to change this value to GNU99(-std=gnu99) which fix this problem, refer from 
> https://github.com/nst/STTwitter/issues/230#issuecomment-158335695



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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