From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14613 invoked by alias); 29 Jan 2006 03:34:37 -0000 Received: (qmail 14594 invoked by uid 48); 29 Jan 2006 03:34:34 -0000 Date: Sun, 29 Jan 2006 03:34:00 -0000 Message-ID: <20060129033434.14593.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/19588] Documentation: Help on no-show of warning is missing In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg03171.txt.bz2 List-Id: ------- Comment #6 from pinskia at gcc dot gnu dot org 2006-01-29 03:34 ------- The options in 4.2.0 is "-Woverlength-strings" Fixed by: * 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/viewcvs?root=gcc&view=rev&rev=110360 -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19588