You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hackage's ncurses-0.2.16 package fails to build against ncurses-6.1 C library as it now defines references to _Float32 and _Float64. The c2hs fails to built ncurses as:
c2hs: C header contains errors:
/usr/include/wchar.h:396: (column 17) [ERROR] >>> Syntax error !
The symbol `wcstof32' does not fit here.
/usr/include/wchar.h contents are:
#ifdef__USE_ISOC99/* Likewise for `float' and `long double' sizes of floating-point numbers. */externfloatwcstof (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
externlong doublewcstold (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif/* C99 *//* Likewise for `_FloatN' and `_FloatNx' when support is enabled. */#if__HAVE_FLOAT16&& defined __USE_GNUextern_Float16wcstof16 (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT32&& defined __USE_GNUextern_Float32wcstof32 (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT64&& defined __USE_GNUextern_Float64wcstof64 (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT128&& defined __USE_GNUextern_Float128wcstof128 (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT32X&& defined __USE_GNUextern_Float32xwcstof32x (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT64X&& defined __USE_GNUextern_Float64xwcstof64x (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif#if__HAVE_FLOAT128X&& defined __USE_GNUextern_Float128xwcstof128x (constwchar_t*__restrict __nptr,
wchar_t**__restrict __endptr) __THROW;
#endif
To clarify: gcc-8.1.0 directly supports the following types: _Float{32,64,128}, _Float{32,64,128}x (they are not typedef aliases of other types from syntax standpoint).
The text was updated successfully, but these errors were encountered:
visq
changed the title
Lack of _Float32 support
Support all IEC 60559 types (_Float{32,64,128}x?)
May 22, 2018
visq
changed the title
Support all IEC 60559 types (_Float{32,64,128}x?)
Support all IEC 60559 types (_Float{32,64,128},_Float{32,64,128}x)
May 22, 2018
Hackage's ncurses-0.2.16 package fails to build against ncurses-6.1 C library as it now defines references to
_Float32
and_Float64
. Thec2hs
fails to built ncurses as:/usr/include/wchar.h
contents are:To clarify:
gcc-8.1.0
directly supports the following types:_Float{32,64,128}
,_Float{32,64,128}x
(they are nottypedef
aliases of other types from syntax standpoint).The text was updated successfully, but these errors were encountered: