https://bugs.contribs.org/show_bug.cgi?id=11326
--- Comment #2 from Brian Read <[email protected]> ---
Warnings on buold of softetherVPN rpm:
c/ -I./src/Cedar/ -I./src/Mayaqua/ -O2 -fsigned-char -m64 -c
src/Mayaqua/Memory.c -o tmp/objs/Mayaqua/Memory.o
In file included from ./src/Mayaqua/Mayaqua.h:334:0,
from src/Mayaqua/Memory.c:115:
src/Mayaqua/Memory.c: In function 'HashListKeyToPointer':
./src/Mayaqua/MayaType.h:221:64: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
#define POINTER_TO_KEY(p) ((sizeof(void *) == sizeof(UINT)) ? (UINT)(p) :
HashPtrToUINT(p))
^
src/Mayaqua/Memory.c:231:7: note: in expansion of macro 'POINTER_TO_KEY'
if (POINTER_TO_KEY(p) == key)
^
src/Mayaqua/Memory.c: In function 'CrashNow':
src/Mayaqua/Memory.c:633:14: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
UCHAR *c = (UCHAR *)r;
^
In file included from ./src/Mayaqua/Mayaqua.h:334:0,
from src/Mayaqua/Memory.c:115:
src/Mayaqua/Memory.c: In function 'ListKeyToPointer':
./src/Mayaqua/MayaType.h:221:64: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
#define POINTER_TO_KEY(p) ((sizeof(void *) == sizeof(UINT)) ? (UINT)(p) :
HashPtrToUINT(p))
^
src/Mayaqua/Memory.c:1728:7: note: in expansion of macro 'POINTER_TO_KEY'
if (POINTER_TO_KEY(p) == key)
^
src/Mayaqua/Memory.c: In function 'GetMemSize':
./src/Mayaqua/MayaType.h:225:92: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
#define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ?
(UINT64)(p) : (UINT64)((UINT)(p))))
^
./src/Mayaqua/Memory.h:121:52: note: in expansion of macro 'POINTER_TO_UINT64'
#define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) ==
(UINT64)sizeof(MEMTAG))))
^
src/Mayaqua/Memory.c:4099:6: note: in expansion of macro 'IS_NULL_POINTER'
if (IS_NULL_POINTER(addr))
^
src/Mayaqua/Memory.c: In function 'ReAlloc':
./src/Mayaqua/MayaType.h:225:92: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
#define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ?
(UINT64)(p) : (UINT64)((UINT)(p))))
^
./src/Mayaqua/Memory.h:121:52: note: in expansion of macro 'POINTER_TO_UINT64'
#define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) ==
(UINT64)sizeof(MEMTAG))))
^
src/Mayaqua/Memory.c:4116:6: note: in expansion of macro 'IS_NULL_POINTER'
if (IS_NULL_POINTER(addr))
^
src/Mayaqua/Memory.c: In function 'Free':
./src/Mayaqua/MayaType.h:225:92: warning: cast from pointer to integer of
different size [-Wpointer-to-int-cast]
#define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ?
(UINT64)(p) : (UINT64)((UINT)(p))))
^
./src/Mayaqua/Memory.h:121:52: note: in expansion of macro 'POINTER_TO_UINT64'
#define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) ==
(UINT64)sizeof(MEMTAG))))
^
src/Mayaqua/Memory.c:4173:6: note: in expansion of macro 'IS_NULL_POINTER'
if (IS_NULL_POINTER(addr))
Build does not fail though...
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/