fix compilation for gcc 5.4.0

This commit is contained in:
Thanos Makatos 2016-09-07 13:16:32 +00:00 committed by root
parent bce4acf214
commit 0c78d8d0c5
3 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@
#include <getopt.h>
#include <string>
#include <stdexcept>
#include <boost/optional/optional_io.hpp>
using namespace bcache;
using namespace caching;

View File

@ -12,7 +12,7 @@ contrib: $(PLUGINS) $(PLUGIN_LIBS)
contrib/%.o: contrib/%.cc
$(V)echo " [CC] $@"
$(V)$(CC) $^ -o $@
$(V)$(CXX) $(INCLUDES) $(CXXFLAGS) $^ -c -o $@
contrib/%.a: contrib/%.o
$(V)echo " [AR] $@"

View File

@ -1,6 +1,7 @@
#include "thin-provisioning/shared_library_emitter.h"
#include <stdexcept>
#include "contrib/tmakatos_emitter.h"
#include <iostream>
using namespace std;
using namespace thin_provisioning;