"Vadim N. Lyalikov" <vadim-lyalikov@xxxxxxxxx> writes: | g++ main.cpp | In file included from /usr/local/include/c++/3.3.2/list:71, | from SimpleSolver.h:3, | from main.cpp:46: | /usr/local/include/c++/3.3.2/bits/stl_list.h:734:38: macro "erase" | passed 1 arguments, but takes just 0 This is not a GCC/g++ problem. You did not show what it in main.cpp. But, judging from the diagnostic message, you or someone decided to define a macro named "erase". That of course is not a good idea if you're planning to program in C++. I would suggest you hunt that "erase" macro. -- Gaby