Closed XVilka closed 6 years ago
Its just a missing signature? Should be only problematic on 64bit
On 06 May 2016, at 21:58, Anton Kochkov notifications@github.com wrote:
when compiled for MINGW32 in radare2:
gcc -static-libgcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -DMINGW32=1 -g -ggdb -o cdb_make._o cdb_make.c cdb_make.c: In function 'cdb_alloc_free': cdb_make.c:49:2: warning: implicit declaration of function '_aligned_free' [-Wimplicit-function-declaration] _aligned_free(x); ^ — You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Also this one in MSYS2:
gcc -c -MD -g -Wall -DMINGW32=1 -DCORELIB -Iarch -IC:/projects/radare2-hnku1/libr/..//shlr -IC:/projects/radare2-hnku1/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -I arch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -IC:/projects/radare2-hnku1/libr/include -o C:/projects/radare2-hnku1/libr/..//libr/anal/p/../..//asm/arch/tms320/c55x_plus/c55plus.o C:/projects/radare2-hnku1/libr/..//libr/anal/p/../..//asm/arch/tms320/c55x_plus/c55plus.c
In file included from C:/projects/radare2-hnku1/libr/include/sdb.h:1:0,
from C:/projects/radare2-hnku1/libr/include/r_db.h:6,
from C:/projects/radare2-hnku1/libr/include/r_bin.h:6,
from C:/projects/radare2-hnku1/libr/include/r_asm.h:7,
from C:/projects/radare2-hnku1/libr/..//libr/anal/p/../..//asm/arch/tms320/c55x_plus/c55plus.c:9:
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
And one more for r_offsetof
macro:
gcc -c -MD -g -Wall -DMINGW32=1 -IC:/projects/radare2-hnku1/libr/include -o pal.o pal.c
In file included from C:/projects/radare2-hnku1/libr/include/sdb.h:1:0,
from C:/projects/radare2-hnku1/libr/include/r_cons.h:12,
from pal.c:3:
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:216:15: note: in expansion of macro 'r_offsetof'
{ "comment", r_offsetof (RConsPalette, comment) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:217:12: note: in expansion of macro 'r_offsetof'
{ "args", r_offsetof (RConsPalette, args) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:218:13: note: in expansion of macro 'r_offsetof'
{ "fname", r_offsetof (RConsPalette, fname) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:219:13: note: in expansion of macro 'r_offsetof'
{ "fline", r_offsetof (RConsPalette, fline) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:220:12: note: in expansion of macro 'r_offsetof'
{ "flag", r_offsetof (RConsPalette, flag) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:221:13: note: in expansion of macro 'r_offsetof'
{ "label", r_offsetof (RConsPalette, label) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:222:12: note: in expansion of macro 'r_offsetof'
{ "help", r_offsetof (RConsPalette, help) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:223:12: note: in expansion of macro 'r_offsetof'
{ "flow", r_offsetof (RConsPalette, flow) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:224:14: note: in expansion of macro 'r_offsetof'
{ "prompt", r_offsetof (RConsPalette, prompt) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:225:14: note: in expansion of macro 'r_offsetof'
{ "offset", r_offsetof (RConsPalette, offset) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:226:13: note: in expansion of macro 'r_offsetof'
{ "input", r_offsetof (RConsPalette, input) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:227:15: note: in expansion of macro 'r_offsetof'
{ "invalid", r_offsetof (RConsPalette, invalid) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:228:13: note: in expansion of macro 'r_offsetof'
{ "other", r_offsetof (RConsPalette, other) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:229:13: note: in expansion of macro 'r_offsetof'
{ "b0x00", r_offsetof (RConsPalette, b0x00) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:230:13: note: in expansion of macro 'r_offsetof'
{ "b0x7f", r_offsetof (RConsPalette, b0x7f) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:231:13: note: in expansion of macro 'r_offsetof'
{ "b0xff", r_offsetof (RConsPalette, b0xff) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:232:12: note: in expansion of macro 'r_offsetof'
{ "math", r_offsetof (RConsPalette, math) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:233:11: note: in expansion of macro 'r_offsetof'
{ "bin", r_offsetof (RConsPalette, bin) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:234:13: note: in expansion of macro 'r_offsetof'
{ "btext", r_offsetof (RConsPalette, btext) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:235:13: note: in expansion of macro 'r_offsetof'
{ "push", r_offsetof (RConsPalette, push) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:236:11: note: in expansion of macro 'r_offsetof'
{ "pop", r_offsetof (RConsPalette, pop) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:237:14: note: in expansion of macro 'r_offsetof'
{ "crypto", r_offsetof (RConsPalette, crypto) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:238:11: note: in expansion of macro 'r_offsetof'
{ "jmp", r_offsetof (RConsPalette, jmp) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:239:12: note: in expansion of macro 'r_offsetof'
{ "cjmp", r_offsetof (RConsPalette, cjmp) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:240:12: note: in expansion of macro 'r_offsetof'
{ "call", r_offsetof (RConsPalette, call) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:241:11: note: in expansion of macro 'r_offsetof'
{ "nop", r_offsetof (RConsPalette, nop) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:242:11: note: in expansion of macro 'r_offsetof'
{ "ret", r_offsetof (RConsPalette, ret) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:243:12: note: in expansion of macro 'r_offsetof'
{ "trap", r_offsetof (RConsPalette, trap) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:244:11: note: in expansion of macro 'r_offsetof'
{ "swi", r_offsetof (RConsPalette, swi) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:245:11: note: in expansion of macro 'r_offsetof'
{ "cmp", r_offsetof (RConsPalette, cmp) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:246:11: note: in expansion of macro 'r_offsetof'
{ "reg", r_offsetof (RConsPalette, reg) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:247:12: note: in expansion of macro 'r_offsetof'
{ "creg", r_offsetof (RConsPalette, creg) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:248:11: note: in expansion of macro 'r_offsetof'
{ "num", r_offsetof (RConsPalette, num) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:249:11: note: in expansion of macro 'r_offsetof'
{ "mov", r_offsetof (RConsPalette, mov) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:251:15: note: in expansion of macro 'r_offsetof'
{ "ai.read", r_offsetof (RConsPalette, ai_read) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:252:16: note: in expansion of macro 'r_offsetof'
{ "ai.write", r_offsetof (RConsPalette, ai_write) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:253:15: note: in expansion of macro 'r_offsetof'
{ "ai.exec", r_offsetof (RConsPalette, ai_exec) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:254:14: note: in expansion of macro 'r_offsetof'
{ "ai.seq", r_offsetof (RConsPalette, ai_seq) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:255:16: note: in expansion of macro 'r_offsetof'
{ "ai.ascii", r_offsetof (RConsPalette, ai_ascii) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:257:17: note: in expansion of macro 'r_offsetof'
{ "graph.box", r_offsetof (RConsPalette, graph_box) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:258:18: note: in expansion of macro 'r_offsetof'
{ "graph.box2", r_offsetof (RConsPalette, graph_box2) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:259:18: note: in expansion of macro 'r_offsetof'
{ "graph.box3", r_offsetof (RConsPalette, graph_box3) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:260:18: note: in expansion of macro 'r_offsetof'
{ "graph.box4", r_offsetof (RConsPalette, graph_box4) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:261:18: note: in expansion of macro 'r_offsetof'
{ "graph.true", r_offsetof (RConsPalette, graph_true) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:262:19: note: in expansion of macro 'r_offsetof'
{ "graph.false", r_offsetof (RConsPalette, graph_false) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:263:20: note: in expansion of macro 'r_offsetof'
{ "graph.trufae", r_offsetof (RConsPalette, graph_trufae) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:264:21: note: in expansion of macro 'r_offsetof'
{ "graph.current", r_offsetof (RConsPalette, graph_current) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:265:20: note: in expansion of macro 'r_offsetof'
{ "graph.traced", r_offsetof (RConsPalette, graph_traced) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:267:17: note: in expansion of macro 'r_offsetof'
{ "gui.cflow", r_offsetof (RConsPalette, gui_cflow) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:268:22: note: in expansion of macro 'r_offsetof'
{ "gui.dataoffset", r_offsetof (RConsPalette, gui_dataoffset) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:269:22: note: in expansion of macro 'r_offsetof'
{ "gui.background", r_offsetof (RConsPalette, gui_background) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:270:26: note: in expansion of macro 'r_offsetof'
{ "gui.alt_background", r_offsetof (RConsPalette, gui_alt_background) },
^
C:/projects/radare2-hnku1/libr/include/sdb/sdb.h:20:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define r_offsetof(type, member) ((unsigned long) &((type*)0)->member)
^
pal.c:271:18: note: in expansion of macro 'r_offsetof'
{ "gui.border", r_offsetof (RConsPalette, gui_border) },
^
And a bit more for MSYS2 build:
mingw32-make[5]: Entering directory 'C:/projects/radare2-hnku1/shlr/sdb/src'
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o cdb._o cdb.c
cdb.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* Public domain - author D. J. Bernstein, modified by pancake - 2014-2015 */
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o buffer._o buffer.c
buffer.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* Public Domain */
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o cdb_make._o cdb_make.c
cdb_make.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* Public domain. */
^
In file included from cdb_make.c:6:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o ls._o ls.c
ls.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2007-2014 - pancake */
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o ht._o ht.c
ht.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/*
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o sdb._o sdb.c
sdb.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2015 - pancake */
^
In file included from sdb.c:9:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o num._o num.c
num.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2015 - pancake */
^
In file included from num.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o base64._o base64.c
base64.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* base64 enc/dec - MIT - Copyright 2011-2015 - pancake */
^
In file included from base64.c:7:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o match._o match.c
match.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2015 - pancake */
^
In file included from match.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o json._o json.c
json.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2012-2015 - pancake */
^
In file included from json.c:4:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
json.c: In function 'sdb_json_format':
json.c:263:34: warning: 'I' flag used with '%x' gnu_printf format [-Wformat=]
snprintf (tmp, sizeof (tmp), "0x%"ULLFMT"x", arg_l);
^
json.c:263:34: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o ns._o ns.c
ns.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2014 - pancake */
^
In file included from ns.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o lock._o lock.c
lock.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2012-2015 - pancake */
^
In file included from lock.c:7:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o util._o util.c
util.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2015 - pancake */
^
In file included from util.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o disk._o disk.c
disk.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2013-2015 - pancake */
^
In file included from disk.c:10:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o query._o query.c
query.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2015 - pancake */
^
In file included from query.c:9:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
query.c: In function 'sdb_querys':
query.c:405:31: warning: 'I' flag used with '%x' gnu_printf format [-Wformat=]
w = snprintf (buf, len-1, "0x%"ULLFMT"x", n);
^
query.c:405:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
query.c:413:27: warning: 'I' flag used with '%x' gnu_printf format [-Wformat=]
snprintf (buf, 0xff, "0x%"ULLFMT"x", n);
^
query.c:413:27: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
query.c:416:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long unsigned int' [-Wformat=]
w = snprintf (buf, len-1, "%"ULLFMT"d", n);
^
query.c:424:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long unsigned int' [-Wformat=]
snprintf (buf, 0xff, "%"ULLFMT"d", n);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o array._o array.c
array.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2016 - pancake */
^
In file included from array.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o fmt._o fmt.c
fmt.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2014-2015 - pancake */
^
In file included from fmt.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
gcc -c -std=gnu99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -Wall -Wsign-compare -MMD -fPIC -g -ggdb -o journal._o journal.c
journal.c:1:0: warning: -fPIC ignored for target (all code is position independent)
/* sdb - MIT - Copyright 2011-2015 - pancake */
^
In file included from journal.c:3:0:
sdb.h:34:22: warning: '_aligned_malloc' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern void *__cdecl _aligned_malloc(size_t, size_t);
^
See all those complaints here: https://ci.appveyor.com/project/radare/radare2-hnku1
when compiled for MINGW32 in radare2: