U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » howto set U++ to comple for non-c++ source?
howto set U++ to comple for non-c++ source? [message #9340] Sat, 28 April 2007 15:23 Go to previous message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
I have an external library that compiles with gcc but not g++. The issues is the way the original code was written that uses "this" and other c++ keywords...

Instead of trying to port some 50,000 lines of C code to C++, is there an easy way to set up U++ to compile a source base with ansi C? (I just had an idea, but I'll post just in case I'm wrong, and besides it might give someone else an idea Wink The thought that just crossed my mind is to set a compiler specific command like "-x c --ansi" for the GNU compilers. Can you see anything seriously wrong with doing this?

EBo --
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pre-define for preprocessor
Next Topic: howto clean up generated test data?
Goto Forum:
  


Current Time: Sun Apr 26 03:46:41 GMT+2 2026

Total time taken to generate the page: 0.00600 seconds