digitalmars.D - core.stdc.fenv on Win64
- Trass3r (9/9) Jul 16 2014 The implementation doesn't seem to be correct.
- Walter Bright (3/12) Jul 16 2014 That code is for Win32 and was never ported properly for Win64. Please f...
The implementation doesn't seem to be correct. Could anybody versed in this look into it? version(Windows) { private extern __gshared fenv_t _FE_DFL_ENV; fenv_t* FE_DFL_ENV = &_FE_DFL_ENV; } There's no such symbol in the libcmt and it fails to link. http://sourceforge.net/p/mingw/mingw-org-wsl/ci/master/tree/include/fenv.h#l87
Jul 16 2014
On 7/16/2014 3:42 PM, Trass3r wrote:The implementation doesn't seem to be correct. Could anybody versed in this look into it? version(Windows) { private extern __gshared fenv_t _FE_DFL_ENV; fenv_t* FE_DFL_ENV = &_FE_DFL_ENV; } There's no such symbol in the libcmt and it fails to link. http://sourceforge.net/p/mingw/mingw-org-wsl/ci/master/tree/include/fenv.h#l87That code is for Win32 and was never ported properly for Win64. Please file a bugzilla issue for it.
Jul 16 2014