mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
compile with latest gcc (untested on old)
This commit is contained in:
parent
a221ae43f4
commit
89809e051d
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue