Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: multiple warnings/errors reported due to multiple architectures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple warnings/errors reported due to multiple architectures



On Aug 31, 2009, at 1:22 PM, François Guillet wrote:

Hello all,

I've been wondering for some time why Xcode always reported errors or warnings twice. This number recently went up with adding a 64bits/ 32bits universal target. I then realized that one compilation is performed for each target architecture (which seems reasonable) but each also generates the same warnings/errors (which is weird, and also a waste of time when compilation fails anyway). The editor then displays warnings/errors by bunches of 2 or 3. It would perhaps be better to compile the whole project for an architecture first, then if success perform compilation for other architectures, sending new warnings/comments to >/dev/null.

Anyway, concerning warnings/errors duplicates, is there a way to avoid them or do I have to live with it ?


I believe gcc does that; I've seen that on command-line builds where Xcode isn't involved at all.
--
Rick Genter
email@hidden






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >multiple warnings/errors reported due to multiple architectures (From: François Guillet <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.