Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - PreDefines
How does one get a listing of compiler predefines? I wish all compilers had a command-line switch you could throw to dump a listing. I'll bet I've spent 6 hours over the last 45 days just looking for predefines for various compilers. I think I saw them for dmc in some Digital Mars documentation somewhere, but I can't remember where... Ah Hah! I just found it at http://www.digitalmars.com/ctg/predefined.html Well, I *STILL* wish *ALL* compilers (including dmc) would report their pre-defines in response to a command-line switch (if it were possible; I suppose it'd have to read all the #pragma's before it would know exactly which ones would be #defined -- i guess). David Nov 21 2006
David Qualls wrote:Well, I *STILL* wish *ALL* compilers (including dmc) would report their pre-defines in response to a command-line switch (if it were possible; I suppose it'd have to read all the #pragma's before it would know exactly which ones would be #defined -- i guess). Nov 21 2006
|