How to suppress GCC warnings from library headers?

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.

Leave a Comment