* GCC-3.4.0/PCH - some more problems (libstdc++.gch)
@ 2004-04-29 14:06 Rene Rebe
2004-04-29 14:20 ` Andrew Pinski
0 siblings, 1 reply; 2+ messages in thread
From: Rene Rebe @ 2004-04-29 14:06 UTC (permalink / raw)
To: gcc; +Cc: valentin
Hi,
> And last but not least a problem arising with one file:
>
> ../include/ALSAConverter.hh:34:53: calling fdopen: Bad file descriptor
>
Very interesting is, that I get more of those when I try to use the
precompiled libstdc++:
$ make CXXFLAGS="-Winvalid-pch -O2 -pipe -mcpu=powerpc -mtune=750" Q=
DEP ArgumentList.d
g++ -Winvalid-pch -O2 -pipe -mcpu=powerpc -mtune=750 -MM -I. -I../include ArgumentList.cc | sed '/^#.*$/d' > ArgumentList.d
ArgumentList.cc:26:25: bits/stdc++.h: No such file or directory
sed -e 's/^[^:]*: *//' -e 's/ \\$//' \
-e 's/^ *//g' -e 's/ /\n/g' ArgumentList.d | \
sed -e 's/$/:/' >> ArgumentList.d
CXX ArgumentList.o
g++ -Winvalid-pch -O2 -pipe -mcpu=powerpc -mtune=750 -I. -I../include -c -o ArgumentList.o ArgumentList.cc
ArgumentList.cc:26:25: warning: /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.0/include/c++/powerpc-unknown-linux-gnu/bits/stdc++.h.gch/O0g: created using different flags
In file included from ArgumentList.cc:28:
../include/ArgumentList.hh:29:25: calling fdopen: Bad file descriptor
../include/ArgumentList.hh:31:25: calling fdopen: Bad file descriptor
../include/ArgumentList.hh:32:25: calling fdopen: Bad file descriptor
make: *** [ArgumentList.o] Error 1
Where ArgumentList.hh contains:
29: #include <bits/stdc++.h>
30:
31: #include <bits/stdc++.h>
32: #include <bits/stdc++.h>
I hope this helps someone willing to improve PCH ...
Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer
--
René Rebe - Europe/Germany/Berlin
rene@rocklinux.org rene@rocklinux-consulting.de
http://www.rocklinux.org http://www.rocklinux-consulting.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC-3.4.0/PCH - some more problems (libstdc++.gch)
2004-04-29 14:06 GCC-3.4.0/PCH - some more problems (libstdc++.gch) Rene Rebe
@ 2004-04-29 14:20 ` Andrew Pinski
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Pinski @ 2004-04-29 14:20 UTC (permalink / raw)
To: Rene Rebe; +Cc: gcc, Andrew Pinski, valentin
On Apr 29, 2004, at 08:19, Rene Rebe wrote:
>
> Where ArgumentList.hh contains:
> 29: #include <bits/stdc++.h>
> 30:
> 31: #include <bits/stdc++.h>
> 32: #include <bits/stdc++.h>
>
> I hope this helps someone willing to improve PCH ...
Yes this is bug PR 13675.
Thanks,
Andrew Pinski
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-29 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-29 14:06 GCC-3.4.0/PCH - some more problems (libstdc++.gch) Rene Rebe
2004-04-29 14:20 ` Andrew Pinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).