[DragonFlyBSD - Bug #1682] (Feedback) math.h constants, aren't constant
Antonio M. Huete Jimenez via Redmine
bugtracker-admin at leaf.dragonflybsd.org
Sun Mar 10 06:06:57 PDT 2013
Issue #1682 has been updated by tuxillo.
Status changed from New to Feedback
Assignee deleted (0)
Hi Stathis,
[dfly_i386] ~/temp> ./t_const
passed
antonioh at devel01:/home/antonioh/temp> ./t_const
passed
Seems it passes it now on both i386/x86_64. Can we close this one?
Cheers,
Antonio Huete
----------------------------------------
Bug #1682: math.h constants, aren't constant
http://bugs.dragonflybsd.org/issues/1682
Author: Beket
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
According to C99, HUGE_VAL, HUGE_VALF, HUGE_VALL, INFINITY, and NAN need to be
constant expressions. We use some gcc __builtin() call when defining them, which
violates the standard.
Test case to reproduce it:
http://gitweb.dragonflybsd.org/~beket/pcca-tests.git/blob_plain/master:/math.h/t_const.c
NetBSD is affected as well. FreeBSD + Opensolaris not.
Cheers,
Stathis
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list