Hi! On Wed, Jan 11, 2023 at 12:41:06PM +0100, Thomas Schwinge wrote:
I think this should be reviewed by Joseph as option handling maintainer. > @@ -8896,6 +8897,13 @@ programs. > Warn for variables that might be changed by @code{longjmp} or > @code{vfork}. This warning is also enabled by @option{-Wextra}. > > +@item -Wno-complain-wrong-lang > +@opindex Wcomplain-wrong-lang > +@opindex Wno-complain-wrong-lang > +By default, we complain about command-line options that are not valid > +for this front end. > +This may be disabled with @code{-Wno-complain-wrong-lang}. I think this description is too short and confusing, it isn't clear what "this" front end is, perhaps say "that are not valid for a front end which compiles a particular source file"? And certainly give an example and more explanation that the option is mostly useful when a single compiler driver invocation is compiling multiple sources written in different languages. Jakub