| delorie.com/archives/browse.cgi | search |
| From: | "Rafal 'Raf256' Maj" <rafal AT raf256 DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: gcc 3.10 and <iostream> |
| Date: | 14 Jun 2002 03:08:18 GMT |
| Organization: | news.onet.pl |
| Lines: | 21 |
| Sender: | raf256 AT poczta DOT onet DOT pl@62.233.182.179 |
| Message-ID: | <Xns922D34E1179CBraf256com@213.180.128.20> |
| References: | <Xns922D2CF541903raf256com AT 213 DOT 180 DOT 128 DOT 20> |
| NNTP-Posting-Host: | 62.233.182.179 |
| X-Trace: | news.onet.pl 1024024098 8640 62.233.182.179 (14 Jun 2002 03:08:18 GMT) |
| X-Complaints-To: | abuse AT onet DOT pl |
| NNTP-Posting-Date: | 14 Jun 2002 03:08:18 GMT |
| User-Agent: | Xnews/5.03.24 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"Rafal 'Raf256' Maj" <rafal AT raf256 DOT com> wrote in
news:Xns922D2CF541903raf256com AT 213 DOT 180 DOT 128 DOT 20:
> compiling on GCC 3.10
> #include <iostream>
> int main() { return 0; }
> Error: c:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o):
> `void std::__convert_to_v<float>(char const*, float&,
> std::_Ios_Iostate&, int* const&, int)':
> c++locale.o(135) Error: undefined reference to `_finite'
> Error: collect2: ld returned 1 exit status
problem is only with <iostream> (or <iostream.h>) <fstream> <ios> works
o.k.
I have binutils 2.11.2 gcc 3.1 djgpp 2.03 - all from zip picker (downloaded
from Polish cyfr-kr.edu.pl mirror few hours ago)
--
Rafał 'Raf256' Maj
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |