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