]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcobol: Provide fallbacks for C32 strfromf32/64 functions.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 25 Mar 2025 15:10:12 +0000 (15:10 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 3 Apr 2025 13:33:59 +0000 (14:33 +0100)
commitb6aafe9a5b1452f3bafae5889aebad0b3de408a3
tree4a83aa4fdf1414ca4e93b845fc3f3114ba322c02
parent66a41a0a9626a9b2f8de3cdb6ba82561b50cd9e8
libgcobol: Provide fallbacks for C32 strfromf32/64 functions.

strfrom{f,d,l,fN) are all C23 and might not be available in general.
This uses snprintf() to provide fall-backs where the libc does not
yet have support.

libgcobol/ChangeLog:

* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for availability of strfromf32 and
strfromf64.
* libgcobol.cc (strfromf32, strfromf64): New.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcobol/config.h.in
libgcobol/configure
libgcobol/configure.ac
libgcobol/libgcobol.cc