While changing one boost signal from single parameter to taking two parameters, I got this error, I checked my code, since I do not understand the error at all. For me the code seemed okay, now I am unsure what does this error want to say. To make it worse, the error points in boost source, rather than in my source.
Code:
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(66) : error C2825: 'F
::result_type': cannot form a qualified name
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind\bind_template.hpp
(15) : see reference to class template instantiation 'boost::_bi::result_traits<
R,F>' being compiled
with
[
R=boost::_bi::unspecified,
F=void (__thiscall QtProfileBar::* )(std::string)
]
wengophone\src\presentation\qt\profilebar\QtProfileBar.cpp(67) : see reference to class template instantiation 'boost::_bi::bind_t<R,F,L>' being compiled
with
[
R=boost::_bi::unspecified,
F=void (__thiscall QtProfileBar::* )(std::string),
L=boost::_bi::list3<boost::_bi::list_av_3<QtProfileBar *,boost::arg<
1>,boost::arg<2>>::B1,boost::_bi::list_av_3<QtProfileBar *,boost::arg<1>,boost::
arg<2>>::B2,boost::_bi::list_av_3<QtProfileBar *,boost::arg<1>,boost::arg<2>>::B3>
]
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(66) : error C2039: 'result_type' : is not a member of 'operator``global namespace'''
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(66) : error C2146: syntax error : missing ';' before identifier 'type'
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(66) : error C2955: 'boost::_bi::type' : use of class template requires template argument list
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(125) : see declaration of 'boost::_bi::type'
C:\dev\mix\Boost\Boost\include\boost-1_34_1\boost\bind.hpp(66) : fatal error C19
03: unable to recover from previous error(s); stopping compilation