From: Bruno Haible Date: Sun, 4 Jun 2023 12:08:24 +0000 (+0200) Subject: uniname/uniname: Add comments. X-Git-Tag: v1.0~1254 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5a3a4984f1f90c4480fe7516cb3f26220d74b18d;p=gnulib.git uniname/uniname: Add comments. * modules/uniname/uniname (Makefile.am): Explain how to work around a GCC bug. --- diff --git a/ChangeLog b/ChangeLog index 72afbccd72..8376342668 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-06-04 Bruno Haible + + uniname/uniname: Add comments. + * modules/uniname/uniname (Makefile.am): Explain how to work around a + GCC bug. + 2023-06-04 Bruno Haible uniname/uniname: Fix -Wformat-signedness warning. diff --git a/modules/uniname/uniname b/modules/uniname/uniname index d71fe4ed11..826a2290f3 100644 --- a/modules/uniname/uniname +++ b/modules/uniname/uniname @@ -18,6 +18,13 @@ gl_LIBUNISTRING_MODULE([1.1], [uniname/uniname]) Makefile.am: if LIBUNISTRING_COMPILE_UNINAME_UNINAME +# Note: Compilation of this file takes a long time with gcc ≥ 11 and option +# -fanalyzer. See . +# The best workaround is to install GNU libunistring first, and use module +# 'libunistring-optional' in your package. +# An alternative workaround would be to pass the option -fno-analyzer, using +# the technique from +# https://www.gnu.org/software/automake/manual/html_node/Per_002dObject-Flags.html lib_SOURCES += uniname/uniname.c endif