delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2014/08/17/14:54:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <53F0FB1E.8070706@gmx.de>
Date: Sun, 17 Aug 2014 20:57:34 +0200
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Emacs pretest 24.3.93
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>
In-Reply-To: <834mxcdyde.fsf@gnu.org>
X-Provags-ID: V03:K0:/NJo5uZ5GuQlwIWsAtHEdy/8lOFwct9gv/TFSAfVfyGCITRbc+F
5QxfuawGJ6Z5/4T/LU5N35veZvlNiYqT2gHe+4P/d/SmAfAQWZwtjgIQcsbZ/T1/wEihY3k
gIiO1hmtI6b0NAAVN6wF1nXhVSFSqSj8Ml8vonk3OGxYNcN8crm068ELZsGZN0sZfgT2UCC
E80/O2BM2fZ4HG26d3LzQ==
X-UI-Out-Filterresults: notjunk:1;
Reply-To: djgpp AT delorie DOT com

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.


Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019