c++.idde - automatic #define
- Riccardo Cohen (14/14) Nov 12 2003 Hi,
- Arjan Knepper (5/19) Nov 12 2003 __DMC__ is always defined it has the compiler version number like 0x837.
- Riccardo Cohen (12/44) Nov 13 2003 Yes of course, I'm sorry not to have a look at doc. (anyway the number o...
Hi, Is there a define that is automatically added when compiling, and that would notify that compiler is DM and not visualC++ ? When I build, I can see no define like -D_DMWIN or else .. even not the WIN32 ! are they implicit ? Thanks -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49
Nov 12 2003
__DMC__ is always defined it has the compiler version number like 0x837. See also http://www.digitalmars.com/ctg/predefined.html Jan has posted an file called Target.h take a look at that. Arjan Knepper In article <bot3bg$1vdh$1 digitaldaemon.com>, Riccardo Cohen says...Hi, Is there a define that is automatically added when compiling, and that would notify that compiler is DM and not visualC++ ? When I build, I can see no define like -D_DMWIN or else .. even not the WIN32 ! are they implicit ? Thanks -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49
Nov 12 2003
Yes of course, I'm sorry not to have a look at doc. (anyway the number of predefines is really impressive) Arjan Knepper wrote:__DMC__ is always defined it has the compiler version number like 0x837. See also http://www.digitalmars.com/ctg/predefined.html Jan has posted an file called Target.h take a look at that. Arjan Knepper In article <bot3bg$1vdh$1 digitaldaemon.com>, Riccardo Cohen says...-- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49Hi, Is there a define that is automatically added when compiling, and that would notify that compiler is DM and not visualC++ ? When I build, I can see no define like -D_DMWIN or else .. even not the WIN32 ! are they implicit ? Thanks -- Riccardo Cohen Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49
Nov 13 2003