Re: gcc c++ vs. visual c++ info?
Re: gcc c++ vs. visual c++ info?
- Subject: Re: gcc c++ vs. visual c++ info?
- From: Mark Lentczner <email@hidden>
- Date: Thu, 13 Jan 2005 10:18:33 -0800
On Jan 13, 2005, at 9:25 AM, james tittle wrote:
...this is what I'm asking advice about: with so many flag/options to
choose, which are likely to be my best bet?
Turn on these:
-Wall -- show all warnings. Many projects I have worked on have
made it policy that code must compile without any warnings
with -Wall turned on. I personally like this practice.
-ansi -- turn off all the g++ extentsions
-pedantic -- turn this on for some real nits - though you might want to
do this as an experiment only
In Xcode you generally set these things in Styles:
Select your project icon in the Groups & Files list in the main window
Get Info (command-I)
Styles tab
choose Development first, set options, then repeat for Deployment
There are entries for Pedantic and for Ansi (use the search box to find
them, Xcode gives them "nice" names, which I can never remember).
There isn't an entry for -Wall, but you can add to the entry entitled
"Other Warning Flags"
- Mark
Mark Lentczner
email@hidden
http://www.wheatfarm.org/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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