Fixes NVIDIA HPC compiler and Intel ICC compatibility

This commit is contained in:
Federico Busato 2022-01-25 12:04:54 -08:00
parent 394f729493
commit ffba4c74f0

View File

@ -293,7 +293,7 @@
// Enable minimal optimizations for more compact code in debug mode. // Enable minimal optimizations for more compact code in debug mode.
FMT_GCC_PRAGMA("GCC push_options") FMT_GCC_PRAGMA("GCC push_options")
#ifndef __OPTIMIZE__ && !FMT_NVHPC_VERSION #if !defined(__OPTIMIZE__) && !FMT_NVHPC_VERSION
FMT_GCC_PRAGMA("GCC optimize(\"Og\")") FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
#endif #endif