Index: version_no.h
===================================================================
RCS file: /usr/local/cvs/cvsnt/version_no.h,v
retrieving revision 1.1.2.112.4.18.2.2
diff -c -r1.1.2.112.4.18.2.2 version_no.h
*** version_no.h	8 Aug 2024 02:37:48 -0000	1.1.2.112.4.18.2.2
--- version_no.h	19 Aug 2024 00:49:37 -0000
***************
*** 26,39 ****
  #ifndef VERSION_NO__H
  #define VERSION_NO__H
  
  // cvsnt version
  #define CVSNT_PRODUCT_MAJOR 2
  #define CVSNT_PRODUCT_MINOR 8
  #define CVSNT_PRODUCT_PATCHLEVEL 01
  #define CVSNT_PRODUCT_PATCHLEVELS 1
- #include "build.h"
  #define CVSNT_PRODUCT_NAME " (Soolin)"
  #define CVSNT_PRODUCT_YEAR 2009
  
  //#define CVSNT_SPECIAL_BUILD "RC 11"
  
--- 26,63 ----
  #ifndef VERSION_NO__H
  #define VERSION_NO__H
  
+ // for CVSNT build with a 'new' compiler (a c-11 compiler) then we call it 'NEW'
+ // eg:
+ // - Red Hat Enterprise Linux 9 / Gnu C v11
+ // - Microsoft Windows Visual C / VS2022
+ ///
+ #if ((defined (__GNUC__) && __GNUC__ >= 11) || (defined(_MSC_VER) && _MSC_VER >= 1930))
+ #define CVSNT_PRODUCT_NEW 1
+ #else
+ #define CVSNT_PRODUCT_NEW 0
+ #endif
+ 
+ 
+ 
  // cvsnt version
  #define CVSNT_PRODUCT_MAJOR 2
  #define CVSNT_PRODUCT_MINOR 8
+ #if CVSNT_PRODUCT_NEW == 0
  #define CVSNT_PRODUCT_PATCHLEVEL 01
  #define CVSNT_PRODUCT_PATCHLEVELS 1
  #define CVSNT_PRODUCT_NAME " (Soolin)"
+ #else
+ #define CVSNT_PRODUCT_PATCHLEVEL 03
+ #define CVSNT_PRODUCT_PATCHLEVELS 3
+ #define CVSNT_PRODUCT_NAME " (Dayna)"
+ #endif
+ #include "build.h"
+ #if CVSNT_PRODUCT_NEW == 0
  #define CVSNT_PRODUCT_YEAR 2009
+ #else
+ #define CVSNT_PRODUCT_YEAR 2024
+ #define CVSNT_SPECIAL_BUILD "RC 2"
+ #endif
  
  //#define CVSNT_SPECIAL_BUILD "RC 11"
  
***************
*** 41,47 ****
  //but this is not currently really supported, but we may change that
  //in future so we can handle licensing better (where a trial build
  //cannot be upgraded to a full-production build).
! //#define CVSNT_SPECIAL_BUILD "Trial"
  
  #ifdef RC_INVOKED
  //#define CVSNT_SPECIAL_BUILD "Prerelease"
--- 65,73 ----
  //but this is not currently really supported, but we may change that
  //in future so we can handle licensing better (where a trial build
  //cannot be upgraded to a full-production build).
! #if defined (MHTRIALONLY)
! #define CVSNT_SPECIAL_BUILD "Trial"
! #endif
  
  #ifdef RC_INVOKED
  //#define CVSNT_SPECIAL_BUILD "Prerelease"