This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, DOC] PR 30330: index both -Wfoo and -Wno-foo
On Sat, 9 Feb 2008, Ralf Wildenhues wrote:
> (My application for write access is still pending, so I guess my
> question is: ok to install once that is through and even if tree is
> still in stage 3?)
The various release branch rules explicitly only highlight documentation
as something not falling under the stringent rules, but my understanding
is that this is mostly a matter of pragmatism to keep the list short and
contrib and maintainer-scripts (both of which are not used to actually
build the compiler) do not fall under these strict rules.
> +test -r "$invoke_texi" || {
> + echo "$0: error: cannot read \`$invoke_texi'" >&2
Please use \' or \" for both sides; TeX-style quotes are something we
try not to use for regular output to users these days.
Note that this will also look a bit funny if if someone only invokes
the script without any parameters, so perhaps guard for that special
case?
The nice thing is that the script also works with FreeBSD 6.1 /bin/sh;
just the following output puzzles me a bit:
gcc: check_warning_flags_file63576.M: Objective-C++ compiler not
installed on this system
valid for obj-c++ but not annotated as such: -Wno-format-zero-length
valid for obj-c++ but not annotated as such: -Wnonnull
valid for obj-c++ but not annotated as such: -Wimplicit-int
valid for obj-c++ but not annotated as such: -Wimplicit-function-declaration
valid for obj-c++ but not annotated as such: -Wignored-qualifiers
valid for obj-c++ but not annotated as such: -Wtraditional
valid for obj-c++ but not annotated as such: -Wtraditional-conversion
valid for obj-c++ but not annotated as such: -Wdeclaration-after-statement
valid for obj-c++ but not annotated as such: -Wbad-function-cast
valid for obj-c++ but not annotated as such: -Wc++-compat
valid for obj-c++ but not annotated as such: -Wstrict-prototypes
valid for obj-c++ but not annotated as such: -Wold-style-declaration
valid for obj-c++ but not annotated as such: -Wold-style-definition
valid for obj-c++ but not annotated as such: -Wmissing-parameter-type
valid for obj-c++ but not annotated as such: -Wmissing-prototypes
valid for obj-c++ but not annotated as such: -Woverride-init
valid for obj-c++ but not annotated as such: -Wnested-externs
valid for obj-c++ but not annotated as such: -Wno-int-to-pointer-cast
valid for obj-c++ but not annotated as such: -Wno-pointer-to-int-cast
valid for obj-c++ but not annotated as such: -Wpointer-sign
What does this indicate?
Gerald