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 #3 from dannysmith at users dot sourceforge dot net  2006-08-18 04:48 -------

Also, removing the space between '-x' and 'c++'  works, eg,
g++ -fsyntax-only -xc++ stdio.h
but I get warning
warning: #pragma system_header ignored outside include file

ditto with  
g++ -c -x c++ stdio.H
warning: #pragma system_header ignored outside include file


-- 


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]