Re: simple gcc question

2001-04-29 Thread Alan Shutko
Daniel Freedman <[EMAIL PROTECTED]> writes: > I don't think you can do what you hope to do. The syntax you're > suggesting seems to imply preprocessor directives, but these are > completed before the code ever gets to the compiler You could do it with #pragma's, but it doesn't look like gcc impl

Re: simple gcc question

2001-04-28 Thread Daniel Freedman
On Sun, Apr 29, 2001, Mike G wrote: > > Hi! > > How do I disablw warnings in gcc, for a piece of code? > I compile with -Wall > > but there are 3 lines I'd like to skip > something like > #warn off > line 1 > line 2 > line 3 > #warn on > > I've been searching info and google, and found no

simple gcc question

2001-04-28 Thread Mike G
Hi! How do I disablw warnings in gcc, for a piece of code? I compile with -Wall but there are 3 lines I'd like to skip something like #warn off line 1 line 2 line 3 #warn on I've been searching info and google, and found nothing, pointers to documentation will gladly be dereferenced :)