https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108369

--- Comment #23 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I have modified gcc.texi here to yield, after make info, the following pasted
out of my terminal viewing with info:

‘-x LANGUAGE’
     Specify explicitly the LANGUAGE for the following input files
     (rather than letting the compiler choose a default based on the
     file name suffix).  This option applies to all following input
     files until the next ‘-x’ option.  Possible values for LANGUAGE
     are:
          c  c-header  cpp-output
          c++  c++-header  c++-system-header c++-user-header c++-cpp-output
          objective-c  objective-c-header  objective-c-cpp-output
          objective-c++ objective-c++-header objective-c++-cpp-output
          assembler  assembler-with-cpp
          ada
          d
          f77  f77-cpp-input f95  f95-cpp-input
          go

     Note that ‘-x’ does not imply a particular language standard.  For
     example ‘-x f77’ may also require ‘-std=legacy’ for some older
     source codes.

‘-x none’
     Turn off any specification of a language, so that subsequent files
     are handled according to their file name suffixes (as they are if
     ‘-x’ has not been used at all).

I think I will change that sentence in the parens for -x none while I am at it.
It should simply be (as if '-x' has not been used at all).

Reply via email to