This is the mail archive of the gcc-bugs@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]

[Bug driver/28528] [4.0/4.1/4.2 regression] Trouble compiling header files with "-x c++" using g++



------- 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


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