only use clang-specific pragma when compiling with clang
GCC's -Wall
includes -Wunknown-pragmas
which warns about using
#pragma clang
. Only use the clang-specific pragma when compliling
with clang to avoid this warning.
GCC's -Wall
includes -Wunknown-pragmas
which warns about using
#pragma clang
. Only use the clang-specific pragma when compliling
with clang to avoid this warning.