diff options
author | 2020-06-01 19:58:26 +0200 | |
---|---|---|
committer | 2020-06-01 19:59:53 +0200 | |
commit | 9cd005b57433c66c35ddb6bb2953e3e29925d643 (patch) | |
tree | 8444bf303689fdb4d9847a7c583ad728fa23a353 /src/lib/netlist/plib/pconfig.h | |
parent | 3fd176a7a6700a1818059df4faf58e57d523119b (diff) |
netlist: drop c++11 support. (nw)
This wasn't working since the last factory changes. Removed it.
Basically replace C14CONSTEXPR with constexpr.
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 |