This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 at ida dot ing dot tu-bs dot 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 at ida dot ing dot tu-bs dot de
--------------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]