us****@sta.samsung.com writes:
Is there any way to selectively suppress compiler warnings from
designated header files (Ex: Boost header files) using gcc-3.3.1 on
Linux PC?
We tried using -Wno-system-headers option but it did not seem to solve
the problem.
This is a question about gcc, not about either C or C++. Followups
redirected. (I dropped comp.sources.d as well.)
Is there any way to designate system header files other than using
<>?
You can usually use either
#include <header.h>
or
#include "header.h"
They differ in the way that the preprocessor searches for the file.
Unless you're intentionally replacing system headers (and if you do
that, you're on your own), you should use <>.
Why do you want to use something other than <>? What problem are you
trying to solve?
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"