all: require C++17

This commit is contained in:
Markus F.X.J. Oberhumer
2023-01-03 15:11:11 +01:00
parent 811b15a5b3
commit 72f3e9b25a
5 changed files with 10 additions and 11 deletions
+2 -6
View File
@@ -29,12 +29,8 @@
#ifndef UPX_CONF_H__
#define UPX_CONF_H__ 1
#if defined(__cplusplus)
# if (__cplusplus >= 201402L)
# elif defined(_MSC_VER) && defined(_MSVC_LANG) && (_MSVC_LANG+0 >= 201402L)
# else
# error "C++ 14 is required"
# endif
#if !(__cplusplus+0 >= 201703L)
# error "C++ 17 is required"
#endif
#include "version.h"