X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 23 Aug 2014 11:24:30 +0300 From: Eli Zaretskii Subject: Re: Emacs pretest 24.3.93 In-reply-to: <53F0FB1E.8070706@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83d2brmx4x.fsf@gnu.org> References: <83egwim872 DOT fsf AT gnu DOT org> <53EF1E40 DOT 6050004 AT gmx DOT de> <83k368ekyk DOT fsf AT gnu DOT org> <53EFAF05 DOT 2010005 AT gmx DOT de> <834mxcdyde DOT fsf AT gnu DOT org> <53F0FB1E DOT 8070706 AT gmx DOT de> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 17 Aug 2014 20:57:34 +0200 > From: Juan Manuel Guerrero > > 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?