incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-483) FileTransfer - unknown property attribute 'atomic' when building from source (Xcode 3 only)
Date Thu, 12 Apr 2012 07:43:37 GMT

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

Shazron Abdullah commented on CB-483:
-------------------------------------

This is supported in clang with Xcode 4, so you will need to upgrade (Xcode 4.2 available
for Snow Leopard)

>From John McCall, Apple Software Engineer:
"It is new and intentionally supported, partly on the general principle that there should
be an explicit way to get any implicit behavior, and partly to support the (optional) warning
about implicitly atomic properties."
(http://lists.apple.com/archives/objc-language/2012/Mar/msg00022.html)

Nevertheless, since leaving this out will cause less trouble (and atomic is the default if
left out), I'm removing it.
                
> FileTransfer - unknown property attribute 'atomic' when building from source (Xcode 3
only)
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-483
>                 URL: https://issues.apache.org/jira/browse/CB-483
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>         Environment: I am using Xcode 3.2.6 iOS SDK 4.3 in Mac OS X 10.6.8
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 1.7.0
>
>
> Hi,
> I got these errors (below). It is unknown property attribute 'atomic'
> How do you fix these errors?
> I am using Xcode 3.2.6 iOS SDK 4.3 in Mac OS X 10.6.8
> Thanks.
> Noli
> ###############
> In file included from
> /var/root/Documents/CordovaLib/Classes/CDVFileTransfer.m:20:
> /var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:12: error:
> unknown property attribute 'atomic'
>  @property (atomic, retain) NSMutableData* responseData;
>            ^
> /var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:1:
> warning: no 'assign', 'retain', or 'copy' attribute is specified -
> 'assign' is assumed
>  @property (atomic, retain) NSMutableData* responseData;
>  ^
> /var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:51:1:
> warning: default property attribute 'assign' not appropriate for
> non-gc object
> /var/root/Documents/CordovaLib/Classes/CDVFileTransfer.h:57:12: error:
> unknown property attribute 'atomic'
>  @property (atomic, assign) int responseCode;
>            ^
> 2 warnings and 2 errors generated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message