GCC 6 fixes.
Should resolve https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811579 Resolves #719.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
source = userinput.proto hostinput.proto transportinstruction.proto
|
source = userinput.proto hostinput.proto transportinstruction.proto
|
||||||
|
|
||||||
AM_CPPFLAGS = $(protobuf_CFLAGS)
|
AM_CPPFLAGS = $(protobuf_CFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS) -Wno-error
|
||||||
|
|
||||||
SUFFIXES = .proto .pb.cc
|
SUFFIXES = .proto .pb.cc
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ const size_t NUM_SESSIONS = 64;
|
|||||||
|
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
|
|
||||||
#define NONCE_FMT "%016"PRIx64
|
#define NONCE_FMT "%016" PRIx64
|
||||||
|
|
||||||
static std::string random_payload( void ) {
|
static std::string random_payload( void ) {
|
||||||
const size_t len = prng.uint32() % MESSAGE_SIZE_MAX;
|
const size_t len = prng.uint32() % MESSAGE_SIZE_MAX;
|
||||||
|
|||||||
Reference in New Issue
Block a user