Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
pvozenilek is currently offline  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
 
Read Message
Read Message
Read Message
Previous Topic: Linking with usb library
Next Topic: [feature] Blitz gratiously handling problems
Goto Forum:
  


Current Time: Sun Apr 28 16:19:23 CEST 2024

Total time taken to generate the page: 0.01937 seconds