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.
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.