From a44a4781d5d0d64c5165b63b8f9531a2c3afea52 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 4 Dec 2025 20:02:31 +0100 Subject: chore: update config semver and c++ detection. Signed-off-by: Amlal El Mahrouss --- src/kernel/NeKit/Config.h | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'src/kernel/NeKit') diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h index c9d1a62d..071018eb 100644 --- a/src/kernel/NeKit/Config.h +++ b/src/kernel/NeKit/Config.h @@ -8,23 +8,11 @@ #include -#define NEKIT_VERSION_STR "0.0.1" -#define NEKIT_VERSION_BCD 0x0001 +#define NEKIT_VERSION_STR "0.0.2" +#define NEKIT_VERSION_BCD 0x0002 -#ifndef __cplusplus -#error !!! Kernel compiles only with a C++ compiler. !!! -#endif - -#if __cplusplus <= 201703L -#define char8_t char -#endif - -#ifdef __has_feature -#if !__has_feature(cxx_nullptr) -#if !__has_nullptr -#error !!! You must at least have nullptr featured on your C++ compiler. !!! -#endif -#endif +#if __cplusplus < 202002L +#error !!! NeKernel compiles with C++20 as of December 4, 2025 !!! #endif /// @brief The **Kernel** namespace. -- cgit v1.2.3