diff options
Diffstat (limited to 'src/lib/netlist/plib/pconfig.h')
-rw-r--r-- | src/lib/netlist/plib/pconfig.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/netlist/plib/pconfig.h b/src/lib/netlist/plib/pconfig.h index a0863db22ba..8b169260360 100644 --- a/src/lib/netlist/plib/pconfig.h +++ b/src/lib/netlist/plib/pconfig.h @@ -114,25 +114,24 @@ #if (NVCCBUILD > 0) - #define C14CONSTEXPR constexpr #if NVCCBUILD == 101 #define NVCC_CONSTEXPR constexpr #else #define NVCC_CONSTEXPR constexpr #endif #if __cplusplus != 201402L - #error nvcc - something is wrong + #error nvcc - use c++14 to compile #endif #else #define NVCC_CONSTEXPR constexpr #if __cplusplus == 201103L - #define C14CONSTEXPR + #error c++11 not supported - you need c++14 #elif __cplusplus == 201402L - #define C14CONSTEXPR constexpr + // Ok #elif __cplusplus == 201703L - #define C14CONSTEXPR constexpr + // Ok #elif defined(_MSC_VER) - #define C14CONSTEXPR + // Ok #else #error "C++ version not supported" #endif |