This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490
On Mon, Jul 09, 2001 at 10:53:03AM +0200, Mathieu Olivier wrote:
> Phil Edwards wrote:
> [snip]
> > Ah. Figured it out. I missed this part of your original bug report:
> >
> > configured with: ../src/configure [...] --prefix=/usr
> >
> > Don't configure with --prefix=/usr unless you're a system vendor setting
> > up a distribution. It severely confuses GCC's idea of which headers
> > are system headers and which headers are yours. In this case, the C++
> > library headers (normally "system") are being detected as yours.
>
> The problem is that I haven't configured anything. I just installed
> GCC/G++ with Debian packaging tool APT ("apt-get install gcc-3.0
> g++-3.0" if I remember well). So maybe it's a problem with Debian then ?
Hmmm. Good question. I don't know the answer. Anyone?
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC