Since the code is header only, how Boost was built is irrelevant - but there must be some mismatch between what Boost.Config is doing and what type_traits expects. The only thing I can think of that would cause that are either: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.
-------------------------------------------------------
Thank you very much John.
I didn't changed anything of the boost installation whatsoever, except for the build itself, before that problem.
I was using exactly the same thing as I did 2 yearly ago, when it worked.
Now it works, for boost 1.39.0, 1.49.0 and 1.57.0. But I cannot think of anything that I did made the difference.
Best regards,
Max
On Sat, Apr 11, 2015 at 10:33 AM, Edward Diener <eldiener@tropicsoft.com> wrote:
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.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.
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