------- Comment #1 from danglin at gcc dot gnu dot org  2006-01-29 23:29 -------
It appears that this problem was exposed by:

2006-01-28  Zack Weinberg  <[EMAIL PROTECTED]>

        * c.opt: Add -W(no-)overlength-strings.
        * doc/invoke.texi: Document it.
        * c-opts.c (c_common_handle_option): -pedantic implies
        -Woverlength-strings, if not explicitly disabled already.
        (c_common_post_options): -Woverlength-strings defaults to off, and
        is always off for C++.
        * c-common.c (fix_string_type): Issue warning about strings longer
        than is portable only if warn_overlength_strings.  Rearrange code
        a little for clarity.
        * configure.in: Check for -Wno-overlength-strings as well before
        enabling -pedantic in stage 1.
        * Makefile.in (STRICT2_WARN): Add -Wno-overlength-strings.
        (gcc.o-warn, insn-automata.o-warn, build/gencondmd.o-warn): Delete.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26021

Reply via email to