On Tue, 29 Jan 2008, Dirk Mueller wrote:

> On Tuesday 29 January 2008, Stephan Kulow wrote:
> 
> > But the warning is not fatal. It would mean way too many fallouts for false
> > positives.
> 
> Well, it was just a general topic, but while we're talking on this 
> specifically: by definition there can't be false positives 
> for -Wstrict-prototypes. And the reason for them being turned on is (iirc) 

The most common "false positive" is

void foo();

for declaring a function which takes no parameters (which is not a correct
prototype for C, but is for C++).

Richard.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to