This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Building libstdc++-v3 and -WError
- To: Branko Čibej <branko dot cibej at hermes dot si>
- Subject: Re: Building libstdc++-v3 and -WError
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 7 Sep 2000 12:00:15 -0700 (PDT)
- cc: libstdc++ at sources dot redhat dot com
> 3) Finally apply the -Wsystem-headers patch to GCC
>
> http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01044.html
>
> Of course, the code base has changed "slightly" sunce May ...
aaaaaah. I am willing to champion this patch on gcc-patches. It doesn't
apply to current CVS though:
%patch < p.system-headers
patching file `cpperror.c'
Hunk #1 FAILED at 280.
Hunk #2 FAILED at 308.
Hunk #3 FAILED at 333.
Hunk #4 FAILED at 364.
Hunk #5 FAILED at 401.
5 out of 5 hunks FAILED -- saving rejects to cpperror.c.rej
patching file `cppinit.c'
Hunk #1 FAILED at 1716.
Hunk #2 FAILED at 1732.
Hunk #3 succeeded at 1738 (offset -93 lines).
2 out of 3 hunks FAILED -- saving rejects to cppinit.c.rej
patching file `cpplib.h'
Hunk #1 succeeded at 346 (offset -36 lines).
Hunk #2 succeeded at 618 with fuzz 2 (offset 35 lines).
patching file `diagnostic.c'
Hunk #1 succeeded at 1034 (offset 44 lines).
patching file `flags.h'
Hunk #1 succeeded at 157 (offset 9 lines).
patching file `toplev.c'
Hunk #1 succeeded at 1389 (offset 18 lines).
Hunk #2 succeeded at 1401 with fuzz 2.
I've hand-edited all but the cpperror.c file. Can you revise your patch
for this one file, and send it to me? I'll then re-post on gcc patches.
Let's try to get this into gcc.....
thanks,
-benjamin