[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1077439: Fwd: Bug#1077439: latex-cjk-japanese-wadalab: FTBFS: wftodm.c:57:1: error: return type defaults to ‘int’ [-Wimplicit-int]



Hi Hilmar,

Sorry, I should have stated that we keep -Wall to keep all the warnings, we just add -ansi.

Yes, I'll do the dput and try pbuilder too for good measure.  It's been a while, time to stretch my Debian tendons again.  ;-)

Have a good weekend, mate. 

-- 
Danai

On Fri, 2 Aug 2024, 19:17 Preuße, Hilmar, <hille42@web.de> wrote:
On 01.08.2024 14:30, Danai SAE-HAN (韓達耐) wrote:

Hi Danai,

sounds rather like a wacky solution, as we hide the code issues, instead of
solving them.... However as explained: the code is never used by the end
user,
hence the quality does not matter.

I checked with diffoscope, everything fine. Go ahead and many thanks!
Will you run
dput after salsa commit?

Hilmar

> The easiest fix is to replace the following line in debian/rules:
>
>    cc -Wall -g -O2 -o build/wftodm wftodm.c
>
> with:
>
>    cc -ansi -g -O2 -o build/wftodm wftodm.c
>
> It works under GCC 14 as well.
>
> The "wftodm" binary is only used during build time to build AFM and PFA
> fonts; it is not shipped to the end user of the package.
> So IMHO this easy fix is enough.  What do you think?  If you agree, I
> will upload the change to Salsa.
>




--
sigfault


Reply to: