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
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490
- From: Mathieu Olivier <molivier at microids dot com>
- Date: Mon, 09 Jul 2001 10:53:03 +0200
- CC: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- References: <3B4599C1.8010504@microids.com> <20010706151623.A23906@disaster.jaj.com>
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 ?
Mathieu Olivier