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:
Cory Fields
2016-01-08 13:31:55 -05:00
committed by lateminer
parent e013f50397
commit a5cb913081
2 changed files with 12 additions and 6 deletions

View File

@@ -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>