[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memset_explicit: Fix compilation error on some OpenSolaris derivativ
From: |
Collin Funk |
Subject: |
Re: memset_explicit: Fix compilation error on some OpenSolaris derivatives |
Date: |
Tue, 23 Apr 2024 23:50:43 -0700 |
User-agent: |
Mozilla Thunderbird |
Hi Paul,
On 4/23/24 11:22 PM, Paul Eggert wrote:
> Why is telnetd.h including config.h? Only a top-level C file should
> include config.h, and it should so so at the start.
I don't disagree. Most of those lines are 20 years old, so I assume it
wasn't a problem then. Though I do wonder how common those warnings
would be in other projects.
I know that warnings in test gnulib test directories can be ignored,
but just as an example:
$ env GNULIB_TOOL_IMPL=py gnulib-tool --create-testdir --dir testdir1 fstatat
$ cd testdir1
$ ./configure --enable-silent-rules
$ make 2>&1 | grep '__STDC_WANT_LIB_EXT1__' | wc -l
354
Collin