File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -434,11 +434,9 @@ using std::operator<<;
434434# pragma clang diagnostic ignored "-Wreserved-user-defined-literal"
435435# pragma clang diagnostic push
436436# pragma clang diagnostic ignored "-Wuser-defined-literals"
437- #elif defined(__GNUC__)
438- # if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408
437+ #elif nssv_COMPILER_GNUC_VERSION >= 480
439438# pragma GCC diagnostic push
440439# pragma GCC diagnostic ignored "-Wliteral-suffix"
441- # endif
442440#endif // __clang__
443441
444442#if nssv_COMPILER_MSVC_VERSION >= 140
@@ -453,12 +451,8 @@ using std::operator<<;
453451
454452#if defined(__clang__)
455453# define nssv_RESTORE_WARNINGS () _Pragma (" clang diagnostic pop" )
456- #elif defined(__GNUC__)
457- # if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408
454+ #elif nssv_COMPILER_GNUC_VERSION >= 480
458455# define nssv_RESTORE_WARNINGS () _Pragma (" GCC diagnostic pop" )
459- # else
460- # define nssv_RESTORE_WARNINGS ()
461- # endif
462456#elif nssv_COMPILER_MSVC_VERSION >= 140
463457# define nssv_RESTORE_WARNINGS () __pragma(warning(pop ))
464458#else
You can’t perform that action at this time.
0 commit comments