Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2002-07-23 16:09:05


Unfortunately I am having a problem wit function.hpp using VC6/Win2k:

cl.exe /nologo /MD /GR /GX /Zm400 /DBOOST_PYTHON_STATIC_LIB /DNDEBUG
-I"r:\bpl1\cctbx\include" -I"r:\bpl1\boost" -I"c:\Python22\include" -c
conversions.cpp
conversions.cpp
r:\bpl1\boost\boost/function.hpp(797) : error C2572: 'set' : redefinition of
default parameter : parameter 2
        r:\bpl1\boost\boost/function.hpp(795) : see declaration of 'set'
        r:\bpl1\boost\boost/function.hpp(806) : see reference to class template
instantiation 'boost::function<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>' being
compiled
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

After removing the "deprecated = 0" from the function signatures things are
back to normal. What would be a proper fix?

Thanks,
Ralf

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk