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]
Other format: [Raw text]

[Bug libstdc++/11450] fpos problems


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11450



------- Additional Comments From peturr02 at ru dot is  2003-07-07 09:47 -------
Created an attachment (id=4357)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4357&action=view)
Test case

This is the error I get with current mainline:

[petur@interim fposbug]$ make CXX=g++0706 check
g++0706 -Wall  -static	fposbug.cc   -o fposbug
/tmp/cctJKaHq.o: In function `main':
/tmp/cctJKaHq.o(.text+0x22): undefined reference to `std::fpos<int>::state()
const'
/tmp/cctJKaHq.o(.text+0x5d): undefined reference to
`std::fpos<int>::state(int)'/tmp/cctJKaHq.o(.text+0x68): undefined reference to
`std::fpos<int>::state() const'
/tmp/cctJKaHq.o(.text+0xb9): undefined reference to `std::fpos<int>::state()
const'
collect2: ld returned 1 exit status
make: *** [fposbug] Error 1
[petur@interim fposbug]$ g++0706 -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc/configure --program-suffix=0706
--enable-version-specific-runtime-libs --enable-languages=c,c++
--enable-threads=posix
Thread model: posix
gcc version 3.4 20030706 (experimental)

This testcase compiles and runs as expected when built with gcc 3.2.3.


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