Le mardi 7 janvier 2014, 13:36:34 Vincent Lefevre a écrit :
> Hi,
>
> I get the following error when compiling tcc from git:
>
> gcc -o x86_64-gen.o -c x86_64-gen.c -DCONFIG_LDDIR="\"lib\""
> -DCONFIG_MULTIARCHDIR="\"x86_64-linux-gnu\"" -DTCC_TARGET_X86_64 -I. -Wall
> -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
> -Wno-unused-result x86_64-gen.c:1064:5: error: conflicting types for
> ‘gfunc_sret’
> int gfunc_sret(CType *vt, CType *ret, int *ret_align) {
> ^
> In file included from x86_64-gen.c:121:0:
> tcc.h:1292:13: note: previous declaration of ‘gfunc_sret’ was here
> ST_FUNC int gfunc_sret(CType *vt, int variadic, CType *ret, int *align);
> ^
> make: *** [x86_64-gen.o] Error 1
Oups, sorry, my bad. Thanks Grischka for fixing it.
Thomas
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel