You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error C1189 #error: "This library now requires a C++11 or later compiler - this message was generated as a result of BOOST_NO_CXX11_REF_QUALIFIERS being set"
Is this a bug? or do I need any setting for using geometry.hpp in CLR?
The text was updated successfully, but these errors were encountered:
So the question is, does the compiler support ref-qualifiers for member functions?
Here you can find some info and example code: https://akrzemi1.wordpress.com/2014/06/02/ref-qualifiers/
If it doesn't then the error is correct.
If it does then it's a bug in Boost.Config and should rather be reported there.
Visual Studio 2022(2019 as well)
ISO C++ 14, 17, 20
boost: 1.84.0, 1.81.0
I create a new project, CLR class Library(.NET Framework) or CLR console App(.Net Framework), and install the Boost NuGet package(1.84.0)
And include the boost header, even not adding any source code, just including headers.
And build a solution.
Followings are no problem to build
#include <boost/foreach.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ptree_fwd.hpp>
#include <boost/geometry/arithmetic/cross_product.hpp>
#include <boost/geometry/geometries/geometries.hpp>
But if I add
#include <boost/geometry.hpp>
Then I got the error.
Error C1189 #error: "This library now requires a C++11 or later compiler - this message was generated as a result of BOOST_NO_CXX11_REF_QUALIFIERS being set"
Is this a bug? or do I need any setting for using geometry.hpp in CLR?
The text was updated successfully, but these errors were encountered: