[LLVMbugs] [Bug 18402] New: no ::gets in the global namespace when compiling <ios>
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 6 12:34:27 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18402
Bug ID: 18402
Summary: no ::gets in the global namespace when compiling <ios>
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++1y
Assignee: unassignedclangbugs at nondot.org
Reporter: martin at martincmartin.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is in 3.4.
Compiling a source file that contains only '#include <ios>' with -std=c++1y
produces:
$ clang++ -std=c++1y ./helper.cpp
In file included from ./helper.cpp:1:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ios:42:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/ios_base.h:41:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/locale_classes.h:40:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/string:52:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/basic_string.h:2815:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/string_conversions.h:43:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:119:11:
error: no member named 'gets' in the global
namespace
using ::gets;
~~^
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140106/9fb819b6/attachment.html>
More information about the llvm-bugs
mailing list