delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/09/10:53:45

From: weissr AT informatik DOT uni-tuebingen DOT de (Roland Weiss)
Subject: string & mingw32 2.8.0
9 Feb 1998 10:53:45 -0800 :
Message-ID: <006c01bd3567$8acee380$67090286.cygnus.gnu-win32@roland.informatik.uni-tuebingen.de>
Reply-To: "Roland Weiss" <weissr AT informatik DOT uni-tuebingen DOT de>
Mime-Version: 1.0
To: "gnu-win32 Mailing List" <gnu-win32 AT cygnus DOT com>
Cc: "Jan-Jaap van der Heijden" <J DOT J DOT vanderHeijden AT student DOT utwente DOT nl>

Hello guys,

I've encountered the following problem with the string library. This program
compiles with some warnings (they don't bother me):

//---------------------------------------------------------------------
#include <string>
#include <iostream>
using namespace std;

void main() {
  string s = "Hello World.";
  cout << "s: " << s << endl;
}
//----------------------------------------------------------------------

But I can't link this file, when i write
> g++ stringtest.o
I get the errors in the attachement file.

Other programs work just fine (using STL, streams...).

my system: NT 4.0 Server, SP3, mingw32 2.8.0 from Jan-Jaap van der Heijden


any help would be really appreciated


Roland
weissr AT informatik DOT uni-tuebingen DOT de


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019