|
From: | David Turner |
Subject: | Re: new compiler warnings in freetype 2.10.2 32-bit |
Date: | Fri, 24 Jul 2020 05:01:58 +0200 |
> 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
0001-build-Remove-strncat-strcpy-sprintf-from-sources.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |