bug-coreutils
[Top][All Lists]
Advanced

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

bug#55010: Compiling from git clone


From: Paul Eggert
Subject: bug#55010: Compiling from git clone
Date: Tue, 19 Apr 2022 16:42:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/18/22 14:47, Ken Ingram wrote:
Making all in .
make[2]: Entering directory '/home/kingram/src/coreutils'
   CC       lib/libcoreutils_a-randperm.o
lib/randperm.c: In function 'sparse_new':
lib/randperm.c:111:1: error: function might be candidate for attribute
'malloc' if it is known to return normally
[-Werror=suggest-attribute=malloc]
  sparse_new (size_t size_hint)
  ^~~~~~~~~~

I'm not seeing that on Fedora 35 x86-64, with GCC 11.2.1 20220127 (Red Hat 11.2.1-9). If you're using an older compiler, I suggest configuring with --disable-gcc-warnings, or building with "make WERROR_CFLAGS=", so that the unnecessary warnings don't break the build. If you're not, please specify the platform and GCC you're using, and how you ran 'configure' and 'make'. Thanks.





reply via email to

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