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)
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.