This is the mail archive of the gcc-bugs@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


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]