www.digitalmars.com         C & C++   DMDScript  

c++ - DM version string

reply Roland <rv ronetech.com> writes:
i would like to display compiler version at compile time in idde's
output window.

#pragma SC message (__DM__)

logically says: string expected

is there a predefined DM version string ?

i searched (not a lot) but i don't found

Thanks

Roland
Nov 15 2001
parent "Walter" <walter digitalmars.com> writes:
__DMC__ does expand to the version number in hex. -Walter


"Roland" <rv ronetech.com> wrote in message
news:3BF38EBB.6B050DA5 ronetech.com...
 i would like to display compiler version at compile time in idde's
 output window.

 #pragma SC message (__DM__)

 logically says: string expected

 is there a predefined DM version string ?

 i searched (not a lot) but i don't found

 Thanks

 Roland
Nov 15 2001