Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with -Wunreachable-code



On Jul 22, 2006, at 3:54 AM, Cameron Hayne wrote:

On 21-Jul-06, at 11:54 PM, Eric Albert wrote:

If you find warnings in Apple's headers when compiling C99 code, please file bugs. We're always interested in hearing about those cases. -pedantic is an exception to that, by the way; I'm disappointed that the static code analysis article recommended it.

One reason for the use of -pedantic is to check for non-standard- conforming code.

Yep. What I meant by that comment is that we aren't really focused on making our headers safe for -pedantic, so warnings in Apple headers that only show up with -pedantic aren't quite as interesting.


-Eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >problem with -Wunreachable-code (From: "James W. Walker" <email@hidden>)
 >Re: problem with -Wunreachable-code (From: "Sean McBride" <email@hidden>)
 >Re: problem with -Wunreachable-code (From: Eric Albert <email@hidden>)
 >Re: problem with -Wunreachable-code (From: Cameron Hayne <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.