> > When compiling elogd on AMD64 (in 64 bit mode) there are many
> > warnings like these:
> >
> > src/regex.c:3769: warning: cast from pointer to integer of different size
> > src/regex.c:3769: warning: cast from pointer to integer of different size
> > src/regex.c:3775: warning: cast to pointer from integer of different size
> >
> > The reason is the (int) cast, which (I think) is not necessary.
>
> Unfortunately I don't have a 64-bit compiler to try. Can you please check if
> elogd.c has similar warnings or only regex.c?
elogd.c shows the same warnings.
> The ones in elogd.c I can fix,
> but regex.c is straight from the GNU C library, so we would have to wait intil
> they fix it. Or can you get it from the 64-bit C library? The point is that I
> need the source code, so that I can compile it under Windows as well. Can you
> try to compile elogd without regex.c, like
>
> gcc -g -O -W -Wall -o elogd src/elogd.c
This works OK.
|