From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16521 invoked by alias); 8 Oct 2007 23:01:20 -0000 Received: (qmail 16477 invoked by alias); 8 Oct 2007 23:01:10 -0000 Date: Mon, 08 Oct 2007 23:01:00 -0000 Message-ID: <20071008230110.16476.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/33700] FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dave at hiauly1 dot hia dot nrc dot ca" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00710.txt.bz2 ------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2007-10-08 23:01 ------- Subject: Re: FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors) > I only tested in Linux. This was not introduced by your change. The problem is the use of an C99 extension (long long constant) in a system header. I believe that this wouldn't normally cause a warning, but gthr-posix.h contains defines derived from defines in pthread.h (e.g., PTHREAD_MUTEX_INIT). Probably, this can be fixed by fixing the HP header. On the other hand, maybe the warning/error shouldn't happen. Possibly, the defines in gthr-posix.h that reference pthread macros need __extension__ before the right-hand side. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33700