Something new learned today: I have been pointed at the "specialness" of /usr/include for gcc/g++ - it implies extern "C" and you can not just include C++ headers from there. Adding a extern "C++" { .. } around your #include <list> fixes the problem. Martin