help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: turn warning into error?


From: Guy Harrison
Subject: Re: turn warning into error?
Date: Wed, 30 Jun 2004 13:16:29 +0100
User-agent: KNode/0.7.2

Gabriel Zachmann wrote:

> 
> Can I somehow turn the following warning:
> 
>     "warning: passing NULL used for non-pointer argument passing ..."
> 
> into an error?
> I consider this a serious bug, and sometimes, it can be hard to spot the
> critical warnings among many others.
> 
> (I did check the gcc info pages, and the newsgroups)

Not very well! ;-)

 "-ansi -pedantic -W -Wall -Werror"

...the last is what you desire.


-- 
Guy Harrison


reply via email to

[Prev in Thread] Current Thread [Next in Thread]