Re: -Wall
Re: -Wall
- Subject: Re: -Wall
- From: Jens Alfke <email@hidden>
- Date: Wed, 4 Jun 2008 17:38:33 -0700
On 4 Jun '08, at 5:15 PM, Stuart Malin wrote:
So, I added -Wextra to -Wall (didn't yet turn on all the
checkboxes), and one warning came up in oodles of places -- about
methods that have unused parameters. This happens in many places for
me
I haven't tried -Wextra. But you can turn options off individually
using -Wno-[option-name]. The GCC docs, which are down somewhere
inside the ADC Ref Lib, have a chapter that lists all the warning flags.
I believe there is also a #pragma or something like that to tell the
compiler that a variable or parameter is deliberately unused, which
will suppress warnings about it.
—Jens
PS: And why isn't there a checkbox for -Wall in Xcode?
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: | |
| >-Wall (From: Stuart Malin <email@hidden>) |
| >Re: -Wall (From: "Sean McBride" <email@hidden>) |
| >Re: -Wall (From: Stuart Malin <email@hidden>) |