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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-09-26
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.(In reply to Jakub Jelinek from comment #3)
> Fix for that should be obvious,
> -#define
> _GLIBCX_GLIBCXX_USE_C99_LONG_LONG_DYNAMICX_USE_C99_LONG_LONG_DYNAMIC 
> +#if _GLIBCXX_USE_C99_DYNAMIC || !defined __LONG_LONG_SUPPORTED
> +#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 1
> +#else
> +#define _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 0
> +#endif
> 
> DragonFly needs the same thing and FreeBSD has another spot:
> ./config/os/bsd/freebsd/os_defines.h:#define
> _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined
> __LONG_LONG_SUPPORTED)
> ./config/os/bsd/freebsd/os_defines.h:#define
> _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC defined _XOPEN_SOURCE
> ./config/os/bsd/dragonfly/os_defines.h:#define
> _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC (_GLIBCXX_USE_C99_DYNAMIC || !defined
> __LONG_LONG_SUPPORTED)

Yes I was going to say something similar too.

Reply via email to