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



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to