Closed regnirpsj closed 9 years ago
This looks like a problem with the Boost.Config library, which for clang defines the BOOST_NO_INITIALIZER_LISTS
preprocessor symbol even if initializer lists are supported. OGLplus picks this up, and disables the constructors with initializer lists.
At the moment You can fix this by defining OGLPLUS_NO_INITIALIZER_LISTS 0
before including the oglplus headers.
I did some changes to the build system and now it is possible to disable the use of the Boost.Config library (if it was detected) either by defining OGLPLUS_USE_BOOST_CONFIG 0
before including oglplus, or by specifying the --no-boost-config
option to the configuration script.
HTH
thanks, i'll try both later today.
on fedora21 clang 3.5 chokes on this while gcc 4.9.2 is perfectly happy (as well as vs2013);
b
andd
are of typestd::string
.this is with a recent clone of the
develop
as well as themaster
branch.