------- Comment #3 from stefanwin at gmx dot net  2010-05-14 10:04 -------
My sample program:

// g++ 4.0.0-1
// compile: g++ -c -Wall progname.c -> ist ok
// link (AIX linker "ld"): g++ -o progname progname.o 
// ERROR: Undefined symbol: .std::basic_string<char, std::char_traits<
// char>, std::allocator<char> >::basic_string()
// ERROR: Undefined symbol: .std::basic_string<char, std::char_traits<
// char>, std::allocator<char> >::~basic_string()
// 

#include <stdio.h>
#include <string>

using namespace std;

//------------------------------------ main --------------------------------
// 
int main (int argc,char **argv)
{
    string test;

    return(0);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44092

Reply via email to