• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gcc c++ vs. visual c++ info?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >gcc c++ vs. visual c++ info? (From: james tittle <email@hidden>)
 >Re: gcc c++ vs. visual c++ info? (From: Shawn Erickson <email@hidden>)
 >Re: gcc c++ vs. visual c++ info? (From: james tittle <email@hidden>)

  • Prev by Date: Re: gcc c++ vs. visual c++ info?
  • Next by Date: Re: little question about navigation in Xcode
  • Previous by thread: Re: gcc c++ vs. visual c++ info?
  • Next by thread: Re: gcc c++ vs. visual c++ info?
  • Index(es):
    • Date
    • Thread