From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28577 invoked by alias); 13 Nov 2002 23:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28555 invoked by uid 71); 13 Nov 2002 23:26:01 -0000 Date: Wed, 20 Nov 2002 06:59:00 -0000 Message-ID: <20021113232601.28554.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Marc Mengel Subject: Re: c++/8549: --pedantic-errors problems on RedHat 6.1 Reply-To: Marc Mengel X-SW-Source: 2002-11/txt/msg00642.txt.bz2 List-Id: The following reply was made to PR c++/8549; it has been noted by GNATS. From: Marc Mengel To: Zack Weinberg Cc: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8549: --pedantic-errors problems on RedHat 6.1 Date: Wed, 13 Nov 2002 17:24:01 -0600 Zack Weinberg wrote: > bangerth@dealii.org writes: > > >> So I think, the whole thing is attributable to the following: >> Somewhen an extension in gcc was deprecated and the kernel >> folks changed their header files accordingly.I think the >> only way to make newer gccs work on these old systems >> would be to fixinclude the respective header files, but I >> doubt someone would like to put much energy in backporting >> gcc to such old systems. > > > Note that the kernel has nothing to do with this. The header > bits/mathinline.h is part of GNU libc. The point is, this is a case where --pedantic doesn't give a warning, but --pedantic-errors fails the compile. That's the bug. The fact that it's in an older glibc header file isn't neccesarily relevant to that point. Either --pedantic should give a warning about it too, or --pedantic-errors shouldn't give an error. Of course the "old system" issue is relevant to the priority which one places on fixing the bug, so I'm not saying the origin shouldn't be discussed, but I just want to remind folks what I thought the issue was. Marc Mengel