Hey Richard,

2009/3/27 Richard Dale <[email protected]>:
> In WConfig.h the current Wt version is made up from 3 version numbers:
>
> #define WT_SERIES 2
> #define WT_MAJOR  99

> #define WT_MINOR  0
> Because 99 is hex 0x63. Instead, shouldn't the 3 numbers be in hex:
>
> #define WT_SERIES 0x2
> #define WT_MAJOR  0x99
> #define WT_MINOR  0x0
>
> So that the code check can be:
>
> #if WT_VERSION >= 0x02990000

Good point. Changed in current git.

People who rely on this preprocessor detection, beware !

Regards,
koen

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to