Paul,
thanks for the symbols 😃
Concerning the symbols COMPILE_TIME and COMPILER_VERSION you might want to have a look at the program code following:
#include <stdio.h>
int main() {
#ifdef __64BIT__
printf('Is 64 bit\n');
#else
printf('Is 32 bit\n');
#endif
#ifdef __WINDOWS__
printf('/windows specified on command line\n');
#else
printf('/windows not specified on command line\n');
#endif
#ifdef WIN64
printf('/64 specified on command line\n');
#else
printf('/64 not specified on command line\n');
#endif
#ifdef __cplusplus
printf('C++ mode\n');
#else
printf('C mode\n');
#endif
#ifdef __COMPILE_TIME__
printf('Compile time: %s\n',__COMPILE_TIME__);
#else
printf('__COMPILE_TIME__ undefined\n');
#endif
#ifdef __COMPILER_VERSION__
printf('Compiler version: %d\n',__COMPILER_VERSION__);
#else
printf('__COMPILER_VERSION__ undefined\n');
#endif
}
Execution of the exes generated works as expected with one exception concerning the 64 bit mode when /windows is set. In this case no output is produced. This is different to the 32 bit mode and to the 64 bit mode where /windows is **not **set. ... only for your information, I'm happy with the current state 😃
Regards,
Dietmar