Bug 176655
Summary: | math.h does not declare round, rint | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ulrich Schwenk <uli_rgbg> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-12-28 18:12:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ulrich Schwenk
2005-12-28 18:05:40 UTC
Please RTFM info libc 'Feature Test Macros' Both rint and round were introduced in ISO C99 (or are GNU extensions), so you should use one of: gcc -std=c99 -Wall roundtest_modified.c -lm gcc -std=gnu99 -Wall roundtest_modified.c -lm gcc -D_ISOC99_SOURCE -Wall roundtest_modified.c -lm gcc -D_GNU_SOURCE -Wall roundtest_modified.c -lm |