Boost logo

Boost :

Subject: [boost] Boost using MS Visual Studio 2010 - C2027
From: Christofer Weßeling (c.wesseling_at_[hidden])
Date: 2009-11-03 12:33:28


Hi!

I've tried to build Boost using MS Visual Studio 2010, but I'm getting a
C2027 error. Basically the problem is known and located as a problem of the
MS compiler:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=321192

Is there still a workaround?

Greets!

Christofer

Here comes the error....:

1>c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1657): warning C4180:
qualifier applied to function type has no meaning; ignored
 1> c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1691) : see
reference to class template instantiation 'boost::_bi::add_cref<Pm,I>' being
compiled
1> with
1> [
1> Pm=FileTime<UTC> (__thiscall File::* )(void),
1> I=1
1> ]
1>
 c:\projekte\ps3controlmodule\productformattingasd\fileadmin.cpp(346) : see
reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>'
being compiled
1> with
1> [
1> Pm=FileTime<UTC> (__thiscall File::* )(void),
1> A1=boost::arg<1>
1> ]
1>c:\projekte\boost\1.40.0\boost\bind\bind.hpp(1691): error C2027: use of
undefined type 'boost::_bi::add_cref<Pm,I>'
1> with
1> [
1> Pm=FileTime<UTC> (File::* )(void),
1> I=1
1> ]
1>
 c:\projekte\ps3controlmodule\productformattingasd\fileadmin.cpp(347) : see
reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>'
being compiled
1> with
1> [
1> Pm=FileTime<UTC> (__thiscall File::* )(void),
1> A1=boost::arg<2>
1> ]
1>
1>Build FAILED.


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