compile error - class reference_wrapper
Hello everybody While in the last week I succesfully compiled my code that included "boost/function.hpp", starting from today I have (for a reason that I ignore) the following error. The compiler (mingw32 with stlport) says: Executing make... make.exe -f "C:\temp\Makefile.win" all c++.exe -D__DEBUG__ -c main.cpp -o main.o -I"c:/mingw/STLport/stl" -I"C:/Dev-Cpp/the-agency/boost_1_31_0" -g3 In file included from C:/Dev-Cpp/the-agency/boost_1_31_0/boost/function/function_base.hpp:22, from C:/Dev-Cpp/the-agency/boost_1_31_0/boost/function/detail/prologue.hpp:16, from C:/Dev-Cpp/the-agency/boost_1_31_0/boost/function.hpp:22, from main.cpp:3: C:/Dev-Cpp/the-agency/boost_1_31_0/boost/ref.hpp:84: error: syntax error before `<' token C:/Dev-Cpp/the-agency/boost_1_31_0/boost/ref.hpp:84: error: `T' was not declared in this scope C:/Dev-Cpp/the-agency/boost_1_31_0/boost/ref.hpp:84: error: template argument 1 is invalid C:/Dev-Cpp/the-agency/boost_1_31_0/boost/ref.hpp:84: error: ISO C++ forbids declaration of `type name' with no type C:/Dev-Cpp/the-agency/boost_1_31_0/boost/ref.hpp:85: error: syntax error before `:' token This problem came out for the first time when I tried to build a static lib instead of an exe. Thanks for any hel Stefano
participants (1)
-
Stefano