This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

string & mingw32 2.8.0


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@informatik.uni-tuebingen.de


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


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