Description of problem: clang cannot compile standard header <cstdio> with -std=c++1y. Digging into the <cstdio> and <stdio.h>, I found it looks like `gets' has been removed from ISO C11 standard. g++ can compile <cstdio> properly. Version-Release number of selected component (if applicable): clang-3.4-6 glibc-2.18 How reproducible: Always Steps to Reproduce: cat << EOF | clang++ -std=c++1y -x c++ - #include <cstdio> EOF Actual results: In file included from <stdin>:1: /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/cstdio:120:11: error: no member named 'gets' in the global namespace using ::gets; Expected results: Pass compilation Additional info: g++ can compile <cstdio> header properly with -std=c++1y
this is a problem on ubuntu as well so it's a clang thing not redhat
Reassign to nobody@. I have no time and no interest in working on clang, and the only reason it's even in the llvm package is because it can't be built any other way. If anyone wishes to volunteer for comaintainer with a focus on clang, please let me know (preferably with direct email, if it's in bz I'll likely miss the request), I'll be happy to hook you up.
Works in F21 (clang-3.5.0-4.fc21.x86_64). I will close this report as we don't have resources to get the support backported. If you think this is really needed in F20, please, reopen this bug.