This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++/3561: declaration of '__fmt' shadows previous local in ostream.tcc:490


The following reply was made to PR libstdc++/3561; it has been noted by GNATS.

From: Mathieu Olivier <molivier@microids.com>
To: Phil Edwards <pedwards@disaster.jaj.com>
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
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]