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: Other Features Wishlist and/or Bugs » [Request] Support for C++ compilation mode for C source files
[Request] Support for C++ compilation mode for C source files [message #25493] Thu, 25 February 2010 22:39 Go to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

I am generating a parser with the help of ANTLR (www.antlr.org), but unfortunately C++ code generation target is not supported, yet.
So I have to use the C code generation target and I end up having a Lexer and Parser written in C.
I want to use U++ Containers within these C files to build my data structures while parsing the input, but for that I need to compile all the C files in C++ mode.

I do not think this is possible with current TheIDE AFAIK, or am I wrong?

If it is not supported, may I ask you to add a package flag or even a flag similar to 'optimize_speed' on a per file basis to have control over compilation mode (-x c++ instead of -x c)?

Matthias
Re: [Request] Support for C++ compilation mode for C source files [message #25519 is a reply to message #25493] Fri, 26 February 2010 23:33 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

here is the patch to implement what I mean.
May I ask you to try it and if it works include it into TheIDE sources?

I have not tested it with MSC.

Matthias
Previous Topic: Brackets are highlight incorrect
Next Topic: Valgrind broken
Goto Forum:
  


Current Time: Fri Mar 29 02:46:59 CET 2024

Total time taken to generate the page: 0.01275 seconds