Re: Is there a warning for "Called function with no prototype"?
Re: Is there a warning for "Called function with no prototype"?
- Subject: Re: Is there a warning for "Called function with no prototype"?
- From: Cameron Hayne <email@hidden>
- Date: Fri, 16 Jun 2006 22:46:39 -0400
On 16-Jun-06, at 9:33 PM, Jerry Krinock wrote:
Is there a warning I can turn on to catch this error? I tried
"Missing
Function Prototypes" but that warns when undeclared functions are
*defined*.
I want a warning when undeclared functions are *called*.
The GCC option you want is:
-Wimplicit
(Read 'man gcc' for details)
But I would recommend using instead
-Wall
to turn on all warnings.
I'm giving you the GCC options but I think the checkboxes in Xcode
are named similarly.
--
Cameron Hayne
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