[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Confuse-devel] question about libconfuse
From: |
Carlo Marcelo Arenas Belon |
Subject: |
Re: [Confuse-devel] question about libconfuse |
Date: |
Sat, 3 Jan 2009 09:22:14 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Jan 03, 2009 at 02:51:18AM -0600, James Buren wrote:
> I've been trying to use libconfuse with ansi C
are you using HEAD or a specific version?
> but I keep getting errors
> when I try to compile it with gcc and -pedantic-errors.
assuming gcc (which version/os/architecture?), use instead :
CFLAGS="-ansi -pedantic"
> error: initializer element is not computable at load time
this come from the use of the CFG_SIMPLE_* or CFG_SEC macros and
are not a problem to build the library as much as the examples and
unless you are using them in your code as well.
> Or something to this effect. Is there any way I can use it with
> pedantic-errors enabled?
no, and unless the library is patched to overcome those warnings (which
are not fatal unless --pedantic-errors is user), is that needed?
Carlo