Description of problem: When any simple C++ file which includes <sys/signalfd.h> headers then its compilation fails with error /usr/include/sys/signalfd.h:54: error: expected initializer before ‘throw’ Reference:- While reviewing new package fbterm #465928 , I see above compilation problem. Version-Release number of selected component (if applicable): glibc-2.8.90-13.fc10 How reproducible: always Steps to Reproduce: 1. compile source code --------------------------------------- #include <iostream> #include <sys/signalfd.h> using namespace std; int main() { cout<<"Testing Throw"; return 0; } ---------------------------------------- 2. observe error 3. Actual results: /usr/include/sys/signalfd.h:54: error: expected initializer before ‘throw’ Expected results: It should not report error. Additional info: I am not sure if this is correct to report bug to fix compilation error. The solution I see is as --------------------------------- #include <iostream> #undef __THROW #define __THROW #include <sys/signalfd.h> using namespace std; int main() { cout<<"Testing Throw"; return 0; } --------------------------------
Should be fixed in glibc-2.8.90-14 in rawhide.