delorie.com/archives/browse.cgi | search |
From: | "jakub" <jakub AT mks DOT com DOT pl> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Sample program |
Date: | Mon, 17 Jun 2002 16:30:41 +0200 |
Organization: | tp.internet - http://www.tpi.pl/ |
Lines: | 32 |
Message-ID: | <aeksgp$a4b$1@news.tpi.pl> |
NNTP-Posting-Host: | mks-30.mks.com.pl |
X-Trace: | news.tpi.pl 1024324953 10379 195.117.79.30 (17 Jun 2002 14:42:33 GMT) |
X-Complaints-To: | usenet AT tpi DOT pl |
NNTP-Posting-Date: | Mon, 17 Jun 2002 14:42:33 +0000 (UTC) |
X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
X-MSMail-Priority: | Normal |
X-Priority: | 3 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi. I downloaded new version of DJGPP and it doesn't work. Simplest code which uses String from STL: #include <string> using namespace std; int main() { string tekst; return 0; } Compiling it in RHIDE I got message: Creating: test3.exe Error: d:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o): In function `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 There were some errors Compiler works fine with list and vector. How can I use strings? regards Jakub
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |