3 ms·
With GCC and Clang, you should use -isystem<thirdparty/header/dir> instead of -I<thirdparty/header/dir> for these include directories. This will suppress warnin
by andreyv 9y ago
With GCC and Clang, you should use -isystem<thirdparty/header/dir> instead of -I<thirdparty/header/dir> for these include directories. This will suppress warnings from these headers.
CMake also supports this through include_directories(SYSTEM …).
With MSVC you will have to fall back on macros.