[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Warnings in pdf-list module
From: |
gerel |
Subject: |
Re: [pdf-devel] Warnings in pdf-list module |
Date: |
Tue, 12 May 2009 23:05:29 -0300 |
> From: David Vazquez <address@hidden>
> Date: Mon, 11 May 2009 17:54:57 +0200
>
>
> Hi,
>
> I get warnings from gcc 4.3.2 when compile a module which require the
> pdf-list module. The errors are related to C99 and they are of the
> kind:
>
> In file included from ./base/pdf-hash.h:30,
> from ./base/pdf-stm.h:54,
> from base/pdf-stm.c:31:
> ./base/pdf-list.h: In function 'pdf_list_new':
> ./base/pdf-list.h:198: warning: 'gl_list_create_empty_inline' is static but
> used in inline function 'pdf_list_new' which is not static
>
> There are warnings for each gnulib routine. Since gnulib functions are
> static inline, we could use static inlining indeed of extern inlining
> too, or non-inlining to fix it, I think.
>
I couldn't reproduce that warning on gcc 4.1.2, although I don't believe it's a
version issue but a macro one. Any ideas jemarch ? you're the macro guru :-)
greetings
-gerel