[issue24520] Stop using deprecated floating-point environment functions on FreeBSD

2016-01-20 Thread Andrew Turner

Andrew Turner added the comment:

I think this patch is correct.

Clang, as shipped by FreeBSD, doesn't support FENV_ACCESS. It raises the 
following warning:

fenv_test.c:2:14: warning: pragma STDC FENV_ACCESS ON is not supported, 
ignoring pragma [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
 ^
1 warning generated.

I expect the man page mentions it because it is mentioned in the standard. In 
the bugs section it does say the pragma is unimplemented.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24520>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24520] Stop using deprecated floating-point environment functions on FreeBSD

2016-01-03 Thread Andrew Turner

Andrew Turner added the comment:

Can this be applied?

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24520>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24520] Stop using deprecated floating-point environment functions on FreeBSD

2015-06-27 Thread Andrew Turner

New submission from Andrew Turner:

The attached patch moves to use the fenv functions on FreeBSD to control the 
floating-point environment. This will be needed as I don't expect FreeBSD will 
have these functions on arm64.

I would expect a similar change should be applied to any supported development 
branch.

--
components: Interpreter Core
files: use_fenv_freebsd.diff
keywords: patch
messages: 245879
nosy: Andrew Turner
priority: normal
severity: normal
status: open
title: Stop using deprecated floating-point environment functions on FreeBSD
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file39822/use_fenv_freebsd.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24520
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com