Bug 593762
Summary: | Including <sys/timex.h> results in a compilation error | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel K. <pavel.kalaidin> | ||||
Component: | glibc | Assignee: | Andreas Schwab <schwab> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | jakub, schwab | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | glibc-2.12-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-06-07 22:29:27 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: | |||||||
Attachments: |
|
glibc-2.12-2 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/glibc-2.12-2 glibc-2.12-2 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update glibc'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/glibc-2.12-2 glibc-2.12-2 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 415188 [details] a test file Description of problem: The following code: <test.cpp> #include <sys/timex.h> int main(int argc, char argv[]) { return 0; } results in a compilation error when compiling with g++: g++ -c test.cpp In file included from test.cpp:2: /usr/include/sys/timex.h:145: error: expected initializer before "throw" In the meantime, it works with gcc (gcc -c test.c). On fc12 it works with both gcc and g++. Version-Release number of selected component (if applicable): glibc-headers-2.12-1.i686 How reproducible: compile the attached file with g++ Steps to Reproduce: 1. g++ -c test.cpp Actual results: g++ -c test.cpp In file included from test.cpp:2: /usr/include/sys/timex.h:145: error: expected initializer before "throw" Expected results: no compilation errors Additional info: #gcc (GCC) 4.4.4 20100503 (Red Hat 4.4.4-2)