Mail Archives: djgpp/2014/08/23/04:24:53
> Date: Sun, 17 Aug 2014 20:57:34 +0200
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
>
> Am 16.08.2014 21:32, schrieb Eli Zaretskii:
> [snip]
> >> I got this error message:
> >>
> >> [snip]
> >> gcc -c -I../msdos -Demacs -I. -I../lib -O2 font.c
> >> font.c: In function 'font_unparse_xlfd':
> >> font.c:1330:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
> > These are warnings, not errors. I guess we need to add a prototype
> > for snprintf somewhere, to pacify the newer compilers, is that right?
> >
> > Thanks for testing Emacs.
>
> Yes, you are right. Only a prototype for snprintf is missing. As far I have
> seen font.c is the only file where snprintf is really used by the port. So it
> is yours decision if the function declaration should be in font.c or somewhere
> else.
Thanks. I ended up adding the prototype to src/config.h.
Any news on the problems you saw with the djdev204 build?
- Raw text -