[llvm-bugs] [Bug 26977] New: no member named 'min' in namespace 'std'
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 17 11:02:01 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=26977
Bug ID: 26977
Summary: no member named 'min' in namespace 'std'
Product: clang
Version: 3.7
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: derrick at ca.ibm.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
#include <stdexcept>
using std::min;
int main()
{
return 0;
}
with -std=c++11 compile option, which passes on gcc 4.8, but fails on clang3.7:
main.cpp:2:12: error: no member named 'min' in namespace 'std'
using std::min;
~~~~~^
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/20160317/8e40498a/attachment.html>
More information about the llvm-bugs
mailing list