Boost logo

Boost Users :

From: Stefano (sboschi75-personal_at_[hidden])
Date: 2004-11-01 09:24:54


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net