Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to predefine compiler wide macro from IDE?
How to predefine compiler wide macro from IDE? [message #10254] |
Wed, 27 June 2007 21:49 |
pvozenilek
Messages: 14 Registered: June 2007
|
Promising Member |
|
|
(Sorry for newbie question but I couldn't find answer anywhere.)
Is there a way how to define a macro in IDE for certain compiler (all configurations) so it'll be passed down to the command line? My problem is: GCC on Win32 defines macro WIN32 while VC7.1/8 define macro _WIN32 and I do not want to complicate the code because of this.
(Since I do not know where to report bugs: external MingW 4.1.2 is installed without gdb.exe, TheIDE 2007.1 is installed w/o MingW, when I try to debug a successfully GCC compiled program IDE goes down with message "Error invoking gdb!" and then crash.)
/Pavel
|
|
|
|
|
Goto Forum:
Current Time: Mon May 13 09:46:10 CEST 2024
Total time taken to generate the page: 0.01705 seconds
|