From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
---|---|
To: | Thomas Güttler <hv(at)tbz-pariv(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: 8.3beta3: Compile Warnings |
Date: | 2007-11-23 12:21:32 |
Message-ID: | 4746C5CC.7090200@sun.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tt seems that GCC makes decision do not inline this function and then it
will keep as a standard function. It is not problem and this warning is
generated by -Winline. I don't have this problem with GCC 3.4.3
Zdenek
Thomas Güttler wrote:
> Hi,
>
> I get the following compile warnings:
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing -I../../../../src/include -D_GNU_SOURCE -c -o like.o like.c
> like.c: In function `texticnlike':
> like.c:137: warning: inlining failed in call to `Generic_Text_IC_like'
> like.c:356: warning: called from here
> like.c: In function `texticlike':
> like.c:137: warning: inlining failed in call to `Generic_Text_IC_like'
> like.c:344: warning: called from here
> like.c: In function `nameicnlike':
> like.c:137: warning: inlining failed in call to `Generic_Text_IC_like'
> like.c:332: warning: called from here
> like.c: In function `nameiclike':
> like.c:137: warning: inlining failed in call to `Generic_Text_IC_like'
> like.c:317: warning: called from here
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing -Wno-error -I../include -I../../../../src/interfaces/ecpg/include -I. -DMAJOR_VERSION=4 -DMINOR_VERSION=4 -D
> PATCHLEVEL=0 -I../../../../src/include -D_GNU_SOURCE -c -o preproc.o preproc.c
> pgc.c:3864: warning: `yy_flex_realloc' defined but not used
>
>
> Versions:
> postgresql-8.3beta3
> gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
> Linux fooserver 2.6.8-24.25-smp #1 SMP Thu Aug 24 09:57:32 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
> SuSE Linux 9.2 (x86-64)
>
> Should this reported to the bug tracker?
>
> Thomas Güttler
>
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory Stark | 2007-11-23 12:36:17 | Re: Ordered Append Node |
Previous Message | Dragan Zubac | 2007-11-23 11:31:59 | Transaction question |