Re: options for compiling C using C++ compiler [trying 1 more time]

2005-12-15 Thread Paolo Bonzini
I'm trying to find the best way to minimize the problem via options or other ways. I already use "-fpermissive" and this eases it a bit. Suggestions? First of all, it's not polite to send things twice just because nobody answered you. Second, people on this listcould have as well ignored

options for compiling C using C++ compiler [trying 1 more time]

2005-12-14 Thread John R
I'm working on a project where I post-process AST (.tu) output from gcc using the -fdump-translation-unit option. Problem is the C compiler does not generate useful AST data. So I actually run the preprocessed source again thru g++ to get AST data. This works fine unless there are constructs n

options for compiling C using C++ compiler

2005-12-12 Thread John R
I'm working on a project where I post-process AST (.tu) output from gcc using the -fdump-translation-unit option. Problem is the C compiler does not generate useful AST data. So I actually run the preprocessed source again thru g++ to get AST data. This works fine unless there are constructs n