On Mon, Jan 31, 2011 at 09:51:58AM +0000, Alexander Best wrote:
> On Mon Jan 31 11, Roman Divacky wrote:
> > no problem with this with clang :)
> 
> hmmmmm....so compiling the following code
> 
> int
> main(int argc, char **argv)
> {
> if (1<2)
>     ;
> }
> 
> with clang -Werror code.c -o code works for you?

if (1<2)
 ;

gives a warning (and it should), on the other hand

#define NOTHING

if (1<2)
 NOTHING;

does not warn, which is what you want right?
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to