Summary: | [headers] long math functions (powl, etc) are not declared properly in math.h | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Enji Cooper <ngie> | ||||
Component: | standards | Assignee: | freebsd-standards (Nobody) <standards> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | das, kargl, theraven | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Enji Cooper
2014-07-08 21:23:26 UTC
Created attachment 145432 [details]
patch for math.h.diff
This appears to be a question about compliance to the C99 standard. Change the component accordingly. (In reply to Steve Kargl from comment #2) > This appears to be a question about compliance to the C99 standard. > Change the component accordingly. LGTM! A commit references this bug: Author: kargl Date: Sat Aug 9 15:53:41 UTC 2014 New revision: 269758 URL: http://svnweb.freebsd.org/changeset/base/269758 Log: When r255294 was committed, it exposed the symbols lgammal, powl, and tgammal in libm. These functions are part of ISO/IEC 9899:1999 and their prototypes should have been moved into the appropriate __ISO_C_VISIBLE >= 1999 section. After moving the prototypes, remnants of r236148 can be removed. PR: standards/191754 Reviewed by: bde Changes: head/lib/msun/src/math.h Thanks for the PR. (In reply to Steve Kargl from comment #5) > Thanks for the PR. Thanks for the fix :)... Should this be MFCed? |