I have a annoying warning when inheriting from x3::variant using Boost 1.69.0 with Microsoft Visual Studio 2017 and 2019:
warning C4521: 'boost::spirit::x3::variant<int>': multiple copy constructors specified
note: see reference to class template instantiation 'boost::spirit::x3::variant<int>' being compiled
This is triggered by this code:
#include "boost/spirit/home/x3/support/ast/variant.hpp"
struct si : boost::spirit::x3::variant<int> {};
int main() { si s; }
What can I do to get rid of this warning?
What can I do to get rid of this warning?
-isystem-includes
instead of -I
)