Mail Archives: djgpp/1999/04/02/16:46:54
Laurynas Biveinis wrote:
> is there any way to turn off/on warning messages in source code, not
> by compiler switches - like #pragma warn ... in other compilers?
No. However, certain warnings can be avoided by changes to your
source. Eg, an unused function argument can be retained without a
warning by casting to `void'.
In general, it's much better to fix your code to avoid the warning than
to disable the warning.
Is there some particular thing you want it to shut up about?
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -