Unverified Commit 2fe7be0d authored by Richard Berger's avatar Richard Berger
Browse files

Reapply fmt patches for Intel compiler issues

- work around issue of the Intel compiler disguising as clang on MacOS
- {fmt}: don't use [[gnu::fallthrough]] on intel compilers
parent 63cbbf96
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -70,9 +70,9 @@
#endif

#if __cplusplus == 201103L || __cplusplus == 201402L
#  if defined(__clang__)
#  if defined(__clang__) && !defined(__INTEL_COMPILER)
#    define FMT_FALLTHROUGH [[clang::fallthrough]]
#  elif FMT_GCC_VERSION >= 700 && !defined(__PGI) && \
#  elif FMT_GCC_VERSION >= 700 && !defined(__PGI) && !defined(__INTEL_COMPILER) && \
      (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 520)
#    define FMT_FALLTHROUGH [[gnu::fallthrough]]
#  else