Hi, I posted this onto gnu.gcc.help but I have not received a reply. A quick search of google has shown that others have experienced this error in the past - even in 2000. This appears to be specific to ppc and perhaps the alpha. I just now tried to compile it on two ix86 machines and it's okay. Should I post a bug report?
I'm working on a project in C++ but I'm having troubles using the STL libraries. For example: #include <map> #include <string> #include <iostream> int main(int argc, char* argv[]) { cout << "hello!" << endl; } When I try to compile this, this is what happens: gcc -o testmap testmap.cpp -lstdc++ In file included from /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/iostream.h:31, from /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/stl_algobase.h:53, from /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/stl_tree.h:56, from /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/map:31, from testmap.cpp:1: /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)': /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/streambuf.h:362: conversion from `__off64_t' to non-scalar type `streampos' requested /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/streambuf.h: In method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)': /usr/lib/gcc-lib/powerpc-linux/2.95.2/../../../../include/g++-3/streambuf.h:364: `struct streampos' used where a `long long int' was expected I'm aware that I need neither map nor string for this simple program to work but I have been receiving these errors in programs that are going to use them. Is this normal or am I doing something wrong? Thank you, Elizabeth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]