freetype-devel
[Top][All Lists]
Advanced

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

Re: new compiler warnings in freetype 2.10.2 32-bit


From: Werner LEMBERG
Subject: Re: new compiler warnings in freetype 2.10.2 32-bit
Date: Thu, 23 Jul 2020 13:16:24 +0200 (CEST)

> There seems to be a new warning in 2.10.2 (compared to 2.10.1) when
> compiling for 32-bit: [...]

Fixed in git, thanks.

> Also have had a bunch of strncat related warning (probably gcc 1 specific, or 
> some compiler switch specific) in ft2-demos, for a while:
>
> ===
>     inlined from 'RunIns' at src/ttdebug.c:2105:11:
> /usr/include/bits/string_fortified.h:136:10: warning:
> '__builtin___strncat_chk' output may be truncated copying 31 bytes
> from a string of length 31 [-Wstringop-truncation]

(The problematic calls of strncat are in function `Cur_U_Line'.)

Hmm.  The answer to

  
https://stackoverflow.com/questions/50198319/gcc-8-wstringop-truncation-what-is-the-good-practice

recommends to switch off the warning if the code does exactly ...


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]