c++11: add scoped enum fallbacks to CPPFLAGS rather than defining them locally
Due to include ordering, defining in one place was not enough to ensure correct usage. Use global defines so that we don't have to worry abou this ordering. Also add a comment in configure about the test.
This commit is contained in:
@@ -15,11 +15,6 @@
|
||||
#include "utiltime.h"
|
||||
#include "wallet/wallet.h"
|
||||
|
||||
#if defined(FORCE_BOOST_EMULATED_SCOPED_ENUMS)
|
||||
#define BOOST_NO_SCOPED_ENUMS
|
||||
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
||||
#endif
|
||||
|
||||
#include <boost/version.hpp>
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
Reference in New Issue
Block a user