option to support c-style code within c++ code using g++.

M. Ghiath Khatib khatib@ida.ing.tu-bs.de
Tue Apr 1 11:01:00 GMT 2003


Hallo,

I would like to ask about the g++ option which support c-style code within
 c++ code. I want also to use this option "-fdump-ast-original" with it. I
 have tried
g++ -fdump-ast-original -x c -Wall  -c  filename.c

g++ version 3.0.4

but it didn't work and reported me with
"Unrecognized option `-fdump-ast-original'"

please tell me if there is an option that do this, because I have searched in
gcc manuel but unfortunatly unsuccessfully.


Thanks in advance.


--
-----------------------------------------------------------------------------
--- Institute of Computer and Communication Network Engineering
               Technical University of Braunschweig, Germany

M. Ghiath Khatib                                Tel. : +49 531 391 3731
Hans-Sommer Str. 66                      Fax  : +49 531 391 3750
D-38106 Braunschweig                  Email: khatib@ida.ing.tu-bs.de
-----------------------------------------------------------------------------
---

-------------------------------------------------------

-- 
--------------------------------------------------------------------------------
        Institute of Computer and Communication Network Engineering
               Technical University of Braunschweig, Germany

M. Ghiath Khatib                                Tel. : +49 531 391 3731
Hans-Sommer Str. 66                      Fax  : +49 531 391 3750
D-38106 Braunschweig                  Email: khatib@ida.ing.tu-bs.de
--------------------------------------------------------------------------------



More information about the Gcc mailing list