This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/28528] [4.0/4.1/4.2 regression] Trouble compiling header files with "-x c++" using g++
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2006 04:52:15 -0000
- Subject: [Bug driver/28528] [4.0/4.1/4.2 regression] Trouble compiling header files with "-x c++" using g++
- References: <bug-28528-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-18 04:52 -------
(In reply to comment #3)
> Also, removing the space between '-x' and 'c++' works, eg,
You are correct, weird.
Actually:
g++ -c -x c++ t.h
fails too:
--output-pch=t.h.gch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28528