PolyFEM
Loading...
Searching...
No Matches
EnableWarnings.hpp
Go to the documentation of this file.
1// Reenable the warnings disabled before including third party code
2#if defined(__clang__)
3#pragma clang diagnostic pop // -Wshadow
4#pragma clang diagnostic pop // -Wsign-compare
5#pragma clang diagnostic pop // -Wswitch-default
6#pragma clang diagnostic pop // -Wformat-nonliteral
7#pragma clang diagnostic pop // -Wswitch-enum
8#pragma clang diagnostic pop // -Wstrict-overflow
9// #pragma clang diagnostic pop // -Wnoexcept
10#pragma clang diagnostic pop // -Wctor-dtor-privacy
11#pragma clang diagnostic pop // -Wnull-dereference
12#pragma clang diagnostic pop // -Wcast-qual
13#pragma clang diagnostic pop // -Wmissing-noreturn
14#pragma clang diagnostic pop // -Woverloaded-virtual
15#elif (defined(__GNUC__) || defined(__GNUG__)) && !(defined(__clang__) || defined(__INTEL_COMPILER))
16#pragma GCC diagnostic pop // -Wshadow
17#pragma GCC diagnostic pop // -Wsign-compare
18#pragma GCC diagnostic pop // -Wswitch-default
19#pragma GCC diagnostic pop // -Wformat-nonliteral
20#pragma GCC diagnostic pop // -Wswitch-enum
21#pragma GCC diagnostic pop // -Wstrict-overflow
22#pragma GCC diagnostic pop // -Wnoexcept
23#pragma GCC diagnostic pop // -Wctor-dtor-privacy
24#pragma GCC diagnostic pop // -Wnull-dereference
25#pragma GCC diagnostic pop // -Wcast-qual
26#pragma GCC diagnostic pop // -Wmissing-noreturn
27#pragma GCC diagnostic pop // -Woverloaded-virtual
28#endif