From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Olivier To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490 Date: Mon, 09 Jul 2001 01:56:00 -0000 Message-id: <20010709085600.2894.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00210.html List-Id: The following reply was made to PR libstdc++/3561; it has been noted by GNATS. From: Mathieu Olivier To: Phil Edwards Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490 Date: Mon, 09 Jul 2001 10:53:03 +0200 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