https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109818

--- Comment #30 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:49f59826c66bcaa3531429381b4aed944c332e5b

commit r14-1454-g49f59826c66bcaa3531429381b4aed944c332e5b
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed May 31 12:22:06 2023 +0100

    libstdc++: Add separate autoconf macro for std::float_t and std::double_t
[PR109818]

    This should make it possible to use openlibm with djgpp (and other
    targets with missing C99 <math.h> functions). The <math.h> from openlibm
    provides all the functions, but not the float_t and double_t typedefs.
    By separating the autoconf checks for the functionsand the typedefs, we
    don't disable support for all the functions just because those typedefs
    are not present.

    libstdc++-v3/ChangeLog:

            PR libstdc++/109818
            * acinclude.m4 (GLIBCXX_ENABLE_C99): Add separate check for
            float_t and double_t and define HAVE_C99_FLT_EVAL_TYPES.
            * config.h.in: Regenerate.
            * configure: Regenerate.
            * include/c_global/cmath (float_t, double_t): Guard using new
            _GLIBCXX_HAVE_C99_FLT_EVAL_TYPES macro.

Reply via email to