You may try to include library headers using -isystem
instead of -I
. This will make them “system headers” and GCC won’t report warnings for them.
More Related Contents:
- How do I best silence a warning about unused variables?
- How to turn on (literally) ALL of GCC’s warnings?
- Selectively remove a warning message using GCC
- How to make gcc warn about passing wrong enum to a function
- How can I turn on (literally) ALL of GCC’s warnings?
- Why doesn’t GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
- How to generate gcc debug symbol outside the build target?
- I don’t understand -Wl,-rpath -Wl,
- Use both static and dynamically linked libraries in gcc
- how to link static library into dynamic library in gcc
- gcc makefile error: “No rule to make target …”
- How can I have a Makefile automatically rebuild source files that include a modified header file? (In C/C++)
- Unable to specify the compiler with CMake
- static linking only some libraries
- OS X 10.9 gcc links to clang
- Custom gcc preprocessor
- Linking libraries with gcc: order of arguments
- The Effect of Architecture When Using SSE / AVX Intrinisics
- How can I mitigate the impact of the Intel jcc erratum on gcc?
- What’s the difference between -rpath and -L?
- How to fix linker error “cannot find crt1.o”?
- How to add compiler flags on codeblocks
- Why do I get a warning every time I use malloc?
- GCC -Wuninitialized / -Wmaybe-uninitialized issues
- How to set the LDFLAGS in CMakeLists.txt?
- How does the GCC implementation of modulo (%) work, and why does it not use the div instruction?
- How to use AVX/pclmulqdq on Mac OS X
- Fast Division on GCC/ARM
- x86_64: Is it possible to “in-line substitute” PLT/GOT references?
- Tail recursion in gcc/g++