[Reprinted] luabind 0.9.1 compiler problems in boost 1.49 + and gcc-4.6.3 versions

Source: Internet
Author: User

When I updated boost to 1.53, I found that luabind was not properly compiled and reported the following error:

Error: Missing binary operator before token "("

According to a foreigner's description, boost_pp_iteration_flags in boost has changed from version 1.49 to version.

Find a patch in git and link the https://gist.github.com/ObKo/2011636

The following is a brief description.

Modify call_function.hpp, call_member.hpp, and wrapper_base.hpp

Remove # Elif boost_pp_iteration_flags () = 1

Change

# Else

# If boost_pp_iteration_flags () = 1

Add # endif at the bottom of the source code.

 

Address: http://www.kankanews.com/ICkengine/archives/50769.shtml

----

I haven't figured out why, but now I don't have time to figure out the reason.

 

[Reprinted] luabind 0.9.1 compiler problems in boost 1.49 + and gcc-4.6.3 versions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.