This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
option to support c-style code within c++ code using g++.
- From: "M. Ghiath Khatib" <khatib at ida dot ing dot tu-bs dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 1 Apr 2003 13:02:08 -0800
- Subject: option to support c-style code within c++ code using g++.
- Organization: IDA
- Reply-to: Khatib at ida dot ing dot tu-bs dot de
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
--------------------------------------------------------------------------------