Boost logo

Boost Users :

Subject: [Boost-users] errors in function_equal.hpp?
From: worldeb_at_[hidden]
Date: 2009-08-23 10:13:28


 Hi folks.

I use some library which use boost in my project. I am not familiar with c++ and boost.
Compilation of my project shows me the next:

function_equal.hpp:15: error: expected nested-name-specifier before numeric constant
function_equal.hpp:15: error: expected `>' before numeric constant
function_equal.hpp:16: error: expected ‘,’ or ‘...’ before numeric constant
function_equal.hpp:16: error: ISO C++ forbids declaration of ‘parameter’ with no type
function_equal.hpp: In function ‘bool boost::function_equal_impl(const F&, int)’:
function_equal.hpp:17: error: ‘g’ was not declared in this scope
function_equal.hpp: At global scope:
function_equal.hpp:22: error: expected nested-name-specifier before numeric constant
function_equal.hpp:22: error: expected `>' before numeric constant
function_equal.hpp:23: error: expected ‘,’ or ‘...’ before numeric constant
function_equal.hpp:23: error: ISO C++ forbids declaration of ‘parameter’ with no type
function_equal.hpp: In function ‘bool boost::function_equal(const F&, int)’:
function_equal.hpp:24: error: ‘g’ was not declared in this scope

I cannot identify really if it is a problem of the boost, or the libraries which I use or...

Who can comment these errors?

Thanx a lot.


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