----- Original Message -----
From: Juan_Ramírez <juanantonio.ram@gmail.com>
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Unable to build old project using boost
Date: 2015-04-12 22:24

It seems that boost wasn't compiled with VC++ 9.

The macro BOOST_NO_RVALUE_REFERENCES is not defined, which means boost thinks the compiler supports rvalue references.


On Sat, Apr 11, 2015 at 10:33 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
On 4/11/2015 6:33 AM, Max wrote:
Hi guys,


This must be a trivial question, but I just couldn't sort it out.


I'm compiling a old project which used to work fine. But now I received
a bunch of errors (this is not a surprise because the project have a lot
of other dependencies and I'm in the way of setting them up) with the
first one as:


c:\lib\boost_1_49_0\boost\type_traits\add_lvalue_reference.hpp(19) :
error C2143: syntax error : missing ',' before '&&'


I'm using Win 7 SP1 + VS 2008 with SP + boost 1.49.0 (I'm using this
because I previous used this. If this works fine, I will consider
migrating to the latest version)


Thanks for any hints.

If you are using an older version of Boost and it was working before and now it is not working, something must have changed. Try to determine what might have changed.

You also need to show source code you are compiling when the error occurs.


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
Juan
:wq
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org

http://lists.boost.org/mailman/listinfo.cgi/boost-users


Thank you.


My boost was built with VC++ 9. And when add #define BOOST_NO_RVALUE_REFERENCES, other errors arose - actually, VS2008 supports rvalue references.


Best regards,

Max