[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] compilation fails (git): conflicting types for gfunc_
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] compilation fails (git): conflicting types for gfunc_sret |
Date: |
Wed, 08 Jan 2014 15:08:25 +0800 |
User-agent: |
KMail/4.11.3 (Linux/2.6.38-ac2-ac100; KDE/4.11.3; armv7l; ; ) |
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