C compatibility issue in the configure script

2023-11-20 Thread Florian Weimer
In standard C, char * amd char ** are different types, and the strtold call is only valid if the latter is used for its second argument. We are still considering whether GCC 14 will treat these type safety violations as errors by default, but it's a possibility. Thanks, Florian diff --git a/conf

[PATCH] Further autoconf changes for C99 compiler support

2019-09-10 Thread Florian Weimer
These changes avoid a few additional cases of implicit function declarations and implicit ints. --- aclocal.m4| 82 ++- configure | 73 - m4/intdiv0.m4 | 3 ++ 3 files changed, 98 insertions(+), 60

Re: declare a="$b" if $a previously set as array

2014-12-14 Thread Florian Weimer
es here. This matches my observations. That's why I recommend not to use array variables in shell scripts: <http://docs.fedoraproject.org/en-US/Fedora_Security_Team/1/html/Defensive_Coding/sect-Defensive_Coding-Shell-Types.html> -- Florian Weimer / Red Hat Product Security