summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Config.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-04 20:02:31 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-04 20:02:31 +0100
commita44a4781d5d0d64c5165b63b8f9531a2c3afea52 (patch)
tree01f35da05bbbc1ecc8dfd3b3d45b43de1fe74e18 /src/kernel/NeKit/Config.h
parent7081f2d5008658968a3d06bbcf4f8ffcab27ce3f (diff)
chore: update config semver and c++ detection.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/NeKit/Config.h')
-rw-r--r--src/kernel/NeKit/Config.h20
1 files changed, 4 insertions, 16 deletions
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 <NeKit/Macros.h>
-#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.