File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 10
10
11
11
#pragma once
12
12
13
- #if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
14
- # pragma warning(push)
15
- # pragma warning(disable: 4127) // warning C4127: Conditional expression is constant
16
- #elif defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
13
+ #if defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
17
14
# pragma GCC diagnostic push
18
15
# pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
19
16
# pragma GCC diagnostic ignored "-Wattributes"
@@ -2388,8 +2385,6 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
2388
2385
# pragma GCC diagnostic pop // -Wnoexcept-type
2389
2386
#endif
2390
2387
2391
- #if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
2392
- # pragma warning(pop)
2393
- #elif defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
2388
+ #if defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
2394
2389
# pragma GCC diagnostic pop
2395
2390
#endif
You can’t perform that action at this time.
0 commit comments