• 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: -Wall
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -Wall


  • Subject: Re: -Wall
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 5 Jun 2008 10:38:33 -0400
  • Organization: Rogue Research

On 6/5/08 7:44 AM, Army Research Lab said:

>IIRC, -Wextra is not a superset of -Wall; you have to have both for to cover
>it all.  I suggest adding the following line in the warning flags under the
>'All configurations' option in 'Configuration':
>
>-Wall -Wextra -pedantic
>
>If you are compiling Objective-C, you'll probably want to add the following:
>
>-Wno-import
>
>This turns off warnings for import statements.

Does it work for you?

$ gcc -Wall -Wextra -pedantic -Wno-import ~/Desktop/test2.m
/Users/sean/Desktop/test2.m:1:2: warning: #import is a GCC extension

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

 _______________________________________________
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

  • Follow-Ups:
    • Re: -Wall
      • From: Bryan Henry <email@hidden>
    • Re: -Wall
      • From: Army Research Lab <email@hidden>
References: 
 >Re: -Wall (From: Army Research Lab <email@hidden>)

  • Prev by Date: Re: -Wall
  • Next by Date: Re: -Wall
  • Previous by thread: Re: -Wall
  • Next by thread: Re: -Wall
  • Index(es):
    • Date
    • Thread