[Bug libstdc++/33700] FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors)
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Mon Oct 8 23:01:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list