compile with latest gcc (untested on old)

This commit is contained in:
Eric House 2018-04-06 21:49:51 -07:00
parent a221ae43f4
commit 89809e051d
4 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ BUILD_DIR ?= .
ifeq ($(MEMDEBUG),TRUE)
DEFINES = -DMEM_DEBUG -DDEBUG -DENABLE_LOGGING -DNUMBER_KEY_AS_INDEX
DEFINES += -DCOMMS_CHECKSUM
CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter -Wcast-align -Werror -O0
CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter -Wcast-align -Werror -O0 -Wno-format-truncation
# DEFINES += -DDEBUG_HASHING
CFLAGS += -DDEBUG_TS -rdynamic
PLATFORM = obj_linux_memdbg

View file

@ -85,7 +85,7 @@ lbt_make( MPFORMAL XP_Bool amMaster )
} /* lbt_make */
static L2_RF_ADDR*
getL2Addr( const CommsAddrRec const* addrP, L2_RF_ADDR* const saddr )
getL2Addr( const CommsAddrRec* addrP, L2_RF_ADDR* const saddr )
{
LOG_FUNC();
L2_RF_ADDR* result = NULL;

View file

@ -29,7 +29,7 @@
#include <uuid/uuid.h>
void
str2uuid( const char const* str, void* out, size_t uuidSize )
str2uuid( const char* str, void* out, size_t uuidSize )
{
uuid_t uuid;
int err = uuid_parse( str, uuid );

View file

@ -20,6 +20,6 @@
#ifndef _UUIDHACK_H_
#define _UUIDHACK_H_
void str2uuid( const char const* str, void* uuid, size_t uuidSize );
void str2uuid( const char* str, void* uuid, size_t uuidSize );
#endif