fix compilation for gcc 5.4.0
This commit is contained in:
parent
bce4acf214
commit
0c78d8d0c5
@ -10,6 +10,7 @@
|
|||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <boost/optional/optional_io.hpp>
|
||||||
|
|
||||||
using namespace bcache;
|
using namespace bcache;
|
||||||
using namespace caching;
|
using namespace caching;
|
||||||
|
@ -12,7 +12,7 @@ contrib: $(PLUGINS) $(PLUGIN_LIBS)
|
|||||||
|
|
||||||
contrib/%.o: contrib/%.cc
|
contrib/%.o: contrib/%.cc
|
||||||
$(V)echo " [CC] $@"
|
$(V)echo " [CC] $@"
|
||||||
$(V)$(CC) $^ -o $@
|
$(V)$(CXX) $(INCLUDES) $(CXXFLAGS) $^ -c -o $@
|
||||||
|
|
||||||
contrib/%.a: contrib/%.o
|
contrib/%.a: contrib/%.o
|
||||||
$(V)echo " [AR] $@"
|
$(V)echo " [AR] $@"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include "thin-provisioning/shared_library_emitter.h"
|
#include "thin-provisioning/shared_library_emitter.h"
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include "contrib/tmakatos_emitter.h"
|
#include "contrib/tmakatos_emitter.h"
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace thin_provisioning;
|
using namespace thin_provisioning;
|
||||||
|
Loading…
Reference in New Issue
Block a user