[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-bugs
Subject:    [DragonFlyBSD - Bug #1682] (Closed) math.h constants, aren't constant
From:       bugtracker-admin () leaf ! dragonflybsd ! org
Date:       2014-02-24 17:02:51
Message-ID: redmine.journal-11848.20140224170251.65e546ff41783670 () leaf ! dragonflybsd ! org
[Download RAW message or body]

Issue #1682 has been updated by swildner.

Description updated
Status changed from Feedback to Closed

This no longer fails. Closing.


----------------------------------------
Bug #1682: math.h constants, aren't constant
http://bugs.dragonflybsd.org/issues/1682#change-11848

* Author: Beket
* Status: Closed
* 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic