#include <string>
In file included from /usr/include/c++/4.2/bits/stl_algobase.h:68,
from /usr/include/c++/4.2/bits/char_traits.h:46,
from /usr/include/c++/4.2/string:47,
from test.cpp:2:
/usr/include/c++/4.2/cstdlib:117: error: ‘::div’ has not been declared
/usr/include/c++/4.2/cstdlib:122: error: ‘::ldiv’ has not been declared
/usr/include/c++/4.2/cstdlib: In function ‘ldiv_t std::div(long int, long int)’:
/usr/include/c++/4.2/cstdlib:146: error: ‘ldiv’ was not declared in this scope
/usr/include/c++/4.2/cstdlib: At global scope:
/usr/include/c++/4.2/cstdlib:164: error: ‘::lldiv_t’ has not been declared
/usr/include/c++/4.2/cstdlib:170: error: ‘::_Exit’ has not been declared
/usr/include/c++/4.2/cstdlib:177: error: ‘::llabs’ has not been declared
/usr/include/c++/4.2/cstdlib:179: error: ‘lldiv_t’ does not name a type
/usr/include/c++/4.2/cstdlib:183: error: ‘::lldiv’ has not been declared
/usr/include/c++/4.2/cstdlib:194: error: ‘::atoll’ has not been declared
/usr/include/c++/4.2/cstdlib:195: error: ‘::strtoll’ has not been declared
/usr/include/c++/4.2/cstdlib:196: error: ‘::strtoull’ has not been declared
/usr/include/c++/4.2/cstdlib:198: error: ‘::strtof’ has not been declared
/usr/include/c++/4.2/cstdlib:199: error: ‘::strtold’ has not been declared
/usr/include/c++/4.2/cstdlib:206: error: ‘__gnu_cxx::lldiv_t’ has not been declared
/usr/include/c++/4.2/cstdlib:208: error: ‘__gnu_cxx::_Exit’ has not been declared
/usr/include/c++/4.2/cstdlib:211: error: ‘__gnu_cxx::llabs’ has not been declared
/usr/include/c++/4.2/cstdlib:212: error: ‘__gnu_cxx::div’ has not been declared
/usr/include/c++/4.2/cstdlib:213: error: ‘__gnu_cxx::lldiv’ has not been declared
/usr/include/c++/4.2/cstdlib:215: error: ‘__gnu_cxx::atoll’ has not been declared
/usr/include/c++/4.2/cstdlib:216: error: ‘__gnu_cxx::strtof’ has not been declared
/usr/include/c++/4.2/cstdlib:217: error: ‘__gnu_cxx::strtoll’ has not been declared
/usr/include/c++/4.2/cstdlib:218: error: ‘__gnu_cxx::strtoull’ has not been declared
/usr/include/c++/4.2/cstdlib:219: error: ‘__gnu_cxx::strtold’ has not been declared