From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2467 invoked by alias); 1 Oct 2003 18:44:50 -0000 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 Received: (qmail 2460 invoked by alias); 1 Oct 2003 18:44:50 -0000 Date: Wed, 01 Oct 2003 18:44:00 -0000 Message-ID: <20031001184450.2459.qmail@sources.redhat.com> From: "gdr at integrable-solutions dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031001174228.12479.levon@movementarian.org> References: <20031001174228.12479.levon@movementarian.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12479] System header should not cause -pedantic to error about "extra `;'" X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg00104.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12479 ------- Additional Comments From gdr at integrable-solutions dot net 2003-10-01 18:44 ------- Subject: Re: System header should not cause -pedantic to error about "extra `;'" "levon at movementarian dot org" writes: | The manual should clarify this very odd behaviour. Currently : | | `-pedantic' | Issue all the warnings demanded by strict ISO C and ISO C++; | reject all programs that use forbidden extensions, and some other | programs that do not follow ISO C and ISO C++. | | does not make the behaviour clear; in particular, no such distinction | between C and C++ is made that I could see. Probably. The -pedantic can turn pedwarns into errors. We've had that behaviour for ages. -- Gaby