* help: turn off "pragma once is obsolete" warning
@ 2002-11-07 10:48 Mark Yang
2002-11-07 11:22 ` Eljay Love-Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Mark Yang @ 2002-11-07 10:48 UTC (permalink / raw)
To: gcc-help
Anyone knows how to turning off the warning "pragma
once is obsolete" warning? I have some legacy code
here, and it's really anoyying.
If there is no such option, how do I turn off all the
warnings?
Thanks a lot!
Mark
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help: turn off "pragma once is obsolete" warning
2002-11-07 10:48 help: turn off "pragma once is obsolete" warning Mark Yang
@ 2002-11-07 11:22 ` Eljay Love-Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2002-11-07 11:22 UTC (permalink / raw)
To: Mark Yang, gcc-help
g++ --no-warn foo.cpp
Not recommended. Warnings are important, the compiler is trying to alert
you. Recommended is MORE warnings:
g++ -Wall foo.cpp
--Eljay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-07 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-07 10:48 help: turn off "pragma once is obsolete" warning Mark Yang
2002-11-07 11:22 ` Eljay Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).