public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream
@ 2003-07-23 23:36 pinskia at physics dot uc dot edu
2003-07-23 23:38 ` [Bug libstdc++/11653] " pinskia at physics dot uc dot edu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-23 23:36 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11653
Summary: [3.4 Regression] can no longer include iostream
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: critical
Priority: P1
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at physics dot uc dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
I can no longer just include iostream by itself.
Code:
#include <iostream>
All now I get errors:
tin:~/src/gnu/gcctest>gcc -v prnew.1.cc
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-
gnu --host=i686-pc-linux-gnu --enable-__cxa_atexit --enable-languages=java,objc,f77 --
prefix=/home/gates/pinskia/linux --enable-threads=posix --enable-shared
Thread model: posix
gcc version 3.4 20030723 (experimental)
/home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/cc1plus -quiet -v -
D_GNU_SOURCE prnew.1.cc -quiet -dumpbase prnew.1.cc -mtune=pentiumpro -
auxbase prnew.1 -version -o /tmp/ccdql9H3.s
#include "..." search starts here:
#include <...> search starts here:
/home/gates/pinskia/linux/include/c++/3.4
/home/gates/pinskia/linux/include/c++/3.4/i686-pc-linux-gnu
/home/gates/pinskia/linux/include/c++/3.4/backward
/usr/local/include
/home/gates/pinskia/linux/include
/home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/include
/home/gates/pinskia/linux/i686-pc-linux-gnu/include
/usr/include
End of search list.
GNU C++ version 3.4 20030723 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 3.4 20030723 (experimental).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128866
In file included from /home/gates/pinskia/linux/include/c++/3.4/ios:46,
from /home/gates/pinskia/linux/include/c++/3.4/ostream:45,
from /home/gates/pinskia/linux/include/c++/3.4/iostream:45,
from prnew.1.cc:1:
/home/gates/pinskia/linux/include/c++/3.4/bits/char_traits.h:191: error: `
wstreampos' does not name a type
In file included from /home/gates/pinskia/linux/include/c++/3.4/streambuf:784,
from /home/gates/pinskia/linux/include/c++/3.4/ios:50,
from /home/gates/pinskia/linux/include/c++/3.4/ostream:45,
from /home/gates/pinskia/linux/include/c++/3.4/iostream:45,
from prnew.1.cc:1:
/home/gates/pinskia/linux/include/c++/3.4/streambuf: In instantiation of
`std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >':
/home/gates/pinskia/linux/include/c++/3.4/bits/streambuf.tcc:167: instantiated from here
/home/gates/pinskia/linux/include/c++/3.4/streambuf:136: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/streambuf:236: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/streambuf:241: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/streambuf:578: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/streambuf:590: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
In file included from /home/gates/pinskia/linux/include/c++/3.4/bits/basic_ios.h:454,
from /home/gates/pinskia/linux/include/c++/3.4/ios:51,
from /home/gates/pinskia/linux/include/c++/3.4/ostream:45,
from /home/gates/pinskia/linux/include/c++/3.4/iostream:45,
from prnew.1.cc:1:
/home/gates/pinskia/linux/include/c++/3.4/bits/basic_ios.h: In instantiation of
`std::basic_ios<wchar_t, std::char_traits<wchar_t> >':
/home/gates/pinskia/linux/include/c++/3.4/bits/basic_ios.tcc:183: instantiated from here
/home/gates/pinskia/linux/include/c++/3.4/bits/basic_ios.h:67: error: no type
named `pos_type' in `struct std::char_traits<wchar_t>'
In file included from /home/gates/pinskia/linux/include/c++/3.4/ostream:548,
from /home/gates/pinskia/linux/include/c++/3.4/iostream:45,
from prnew.1.cc:1:
/home/gates/pinskia/linux/include/c++/3.4/ostream: In instantiation of
`std::basic_ostream<wchar_t, std::char_traits<wchar_t> >':
/home/gates/pinskia/linux/include/c++/3.4/bits/ostream.tcc:712: instantiated from here
/home/gates/pinskia/linux/include/c++/3.4/ostream:64: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/bits/ostream.tcc:423: error: no type
named `pos_type' in `struct std::basic_ostream<wchar_t,
std::char_traits<wchar_t> >'
/home/gates/pinskia/linux/include/c++/3.4/bits/ostream.tcc:434: error: no type
named `pos_type' in `struct std::char_traits<wchar_t>'
In file included from /home/gates/pinskia/linux/include/c++/3.4/istream:775,
from /home/gates/pinskia/linux/include/c++/3.4/iostream:46,
from prnew.1.cc:1:
/home/gates/pinskia/linux/include/c++/3.4/istream: In instantiation of `std::basic_istream<
wchar_t, std::char_traits<wchar_t> >':
/home/gates/pinskia/linux/include/c++/3.4/bits/istream.tcc:1201: instantiated from here
/home/gates/pinskia/linux/include/c++/3.4/istream:65: error: no type named `
pos_type' in `struct std::char_traits<wchar_t>'
/home/gates/pinskia/linux/include/c++/3.4/bits/istream.tcc:934: error: no type
named `pos_type' in `struct std::basic_istream<wchar_t,
std::char_traits<wchar_t> >'
/home/gates/pinskia/linux/include/c++/3.4/bits/istream.tcc:947: error: no type
named `pos_type' in `struct std::char_traits<wchar_t>'
If I define _GLIBCPP_USE_WCHAR_T before including iostream it works.
tin:~/src/gnu/gcctest>gcc -v
Reading specs from /home/gates/pinskia/linux/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-
gnu --host=i686-pc-linux-gnu --enable-__cxa_atexit --enable-languages=java,objc,f77 --
prefix=/home/gates/pinskia/linux --enable-threads=posix --enable-shared
Thread model: posix
gcc version 3.4 20030723 (experimental)
I think the was caused by Zack Weinberg's patch to add UCN support but I do not know
that for sure.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11653] [3.4 Regression] can no longer include iostream
2003-07-23 23:36 [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream pinskia at physics dot uc dot edu
@ 2003-07-23 23:38 ` pinskia at physics dot uc dot edu
2003-07-25 3:29 ` pme at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-23 23:38 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11653
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |11240
nThis| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-23 23:38 -------
Looks like Dara also gets the same error for bug 11240.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11653] [3.4 Regression] can no longer include iostream
2003-07-23 23:36 [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream pinskia at physics dot uc dot edu
2003-07-23 23:38 ` [Bug libstdc++/11653] " pinskia at physics dot uc dot edu
@ 2003-07-25 3:29 ` pme at gcc dot gnu dot org
2003-07-25 3:32 ` pinskia at physics dot uc dot edu
2003-07-25 14:23 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: pme at gcc dot gnu dot org @ 2003-07-25 3:29 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11653
------- Additional Comments From pme at gcc dot gnu dot org 2003-07-25 03:29 -------
fenric 108% cat d.cc
#include <iostream>
fenric 109% /mnt/build/install-2003-07-24-trunk/bin/g++ -c d.cc
fenric 110%
Works For Me![tm]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11653] [3.4 Regression] can no longer include iostream
2003-07-23 23:36 [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream pinskia at physics dot uc dot edu
2003-07-23 23:38 ` [Bug libstdc++/11653] " pinskia at physics dot uc dot edu
2003-07-25 3:29 ` pme at gcc dot gnu dot org
@ 2003-07-25 3:32 ` pinskia at physics dot uc dot edu
2003-07-25 14:23 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 3:32 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11653
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-25 03:32 -------
I just deleted the headers to see if they are causing the problem. I will report back tomorrow what
is the results.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11653] [3.4 Regression] can no longer include iostream
2003-07-23 23:36 [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream pinskia at physics dot uc dot edu
` (2 preceding siblings ...)
2003-07-25 3:32 ` pinskia at physics dot uc dot edu
@ 2003-07-25 14:23 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-25 14:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11653
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-25 14:23 -------
User error of not installing in a clean destionation.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-07-25 14:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 23:36 [Bug libstdc++/11653] New: [3.4 Regression] can no longer include iostream pinskia at physics dot uc dot edu
2003-07-23 23:38 ` [Bug libstdc++/11653] " pinskia at physics dot uc dot edu
2003-07-25 3:29 ` pme at gcc dot gnu dot org
2003-07-25 3:32 ` pinskia at physics dot uc dot edu
2003-07-25 14:23 ` pinskia at physics dot uc dot edu
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).