>>>> I have sco5.0.5. and I use cc to compile. I suppose that my problem is the
>>>> same in linux with gcc.
>>> Why do you suppose that?
>>> Post to a relevant newsgroup.
>>I'm writing code on Linux, and I'd like to see an answer to his question.
>>I haven't been able to find one in the gcc documentation.
>>In my case, the problem is that I'm not interested in seeing warnings
>>generated by the headers I'm including. I crank warnings up to monitor
>>the quality of my code, not the system libraries.
>The best solution would be to fix the headers and submit a patch to the
Okay, this was Microsoft C ... but I've used a load of code where the
compiler kept on spewing warnings that I couldn't suppress.
I was passing call-through functions so my args list was defined by the
library calling my routines. However, most of the time I didn't need the
arguments, so the compiler kept on spewing either "argument not used" or
"this statement doesn't do anything" warnings.
The ability to suppress certain warnings would be welcomed...
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Witches are curious by definition and inquisitive by nature. She moved in. "Let
me through. I'm a nosey person.", she said, employing both elbows.
Maskerade : (c) 1995 Terry Pratchett