c++/8549: --pedantic-errors problems on RedHat 6.1

Marc Mengel mengel@fnal.gov
Wed Nov 13 08:58:00 GMT 2002


bangerth@dealii.org wrote:
> Synopsis: --pedantic-errors problems on RedHat 6.1
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Tue Nov 12 10:21:26 2002
> State-Changed-Why:
>     You have a very old system... I cannot reproduce this
>     problem with a more recent distribtion, neither with
>     3.0, 3.1, or 3.2.
>     
>     Nevertheless, if you want us
>     to look at the problem, please tell us what happens exactly
>     at the lines indicated in std_cmath. Probably, there are
>     initializers used that come from system headers. Please also 
>     provide preprocessed files as described on the gcc homepage.
>     (However, in this case we would need both information I
>     mentioned above.)
>     
>     Could you please also test 3.2.1 once it will be released in
>     a few days?
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8549

I did not include a preprocessed file, as the problem goes away if you
preprocess it and run on the preprocessed file.

Instead, I have built a tarfile of all the include files touched in the build, 
and a script that uses -nostdinc -Ifoo -Ibar ... which reproduces the problem 
on other platforms.

As I mentioned this is a very hard to reproduce bug.

Hopefully the attached tarfile makes it clear; unpack it in an empty 
directory, and run ./reproduce_it (a shell script).

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproduce_it.tar
Type: application/x-tar
Size: 163840 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20021113/77299e78/attachment.tar>


More information about the Gcc-bugs mailing list