From 24a5391caff0222b4c0612f41a05f4a7f2679411 Mon Sep 17 00:00:00 2001 From: Alan Dayton Date: Wed, 22 Jul 2026 12:15:20 -0700 Subject: [PATCH 1/2] Update CAMP_VERSION format --- include/camp/config.in.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/camp/config.in.hpp b/include/camp/config.in.hpp index 77e8e5e5..1bfdcb4a 100644 --- a/include/camp/config.in.hpp +++ b/include/camp/config.in.hpp @@ -24,8 +24,11 @@ #define CAMP_VERSION_MINOR @camp_VERSION_MINOR@ #define CAMP_VERSION_PATCH @camp_VERSION_PATCH@ -#define CAMP_VERSION \ - (CAMP_VERSION_MAJOR * 1000000) + (CAMP_VERSION_MINOR * 1000) \ +// Since Camp now uses a date based versioning scheme, CAMP_VERSION will be +// of the format YYYYMMPP, where YYYY is the year, MM is the month, and PP +// is the patch number (e.g. 20260700). +#define CAMP_VERSION \ + (CAMP_VERSION_MAJOR * 10000) + (CAMP_VERSION_MINOR * 100) \ + (CAMP_VERSION_PATCH) #if (defined(_WIN32) || defined(_WIN64)) && !defined(CAMP_WIN_STATIC_BUILD) From d2b55714fc1cd9e22a892462b1855ddc9709443b Mon Sep 17 00:00:00 2001 From: Alan Dayton Date: Thu, 23 Jul 2026 08:59:31 -0700 Subject: [PATCH 2/2] Use ULL --- include/camp/config.in.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/camp/config.in.hpp b/include/camp/config.in.hpp index 1bfdcb4a..21dae6f5 100644 --- a/include/camp/config.in.hpp +++ b/include/camp/config.in.hpp @@ -28,7 +28,7 @@ // of the format YYYYMMPP, where YYYY is the year, MM is the month, and PP // is the patch number (e.g. 20260700). #define CAMP_VERSION \ - (CAMP_VERSION_MAJOR * 10000) + (CAMP_VERSION_MINOR * 100) \ + (CAMP_VERSION_MAJOR * 10000ULL) + (CAMP_VERSION_MINOR * 100ULL) \ + (CAMP_VERSION_PATCH) #if (defined(_WIN32) || defined(_WIN64)) && !defined(CAMP_WIN_STATIC_BUILD)