From 375eca7881bceabf591a4fc278c198657aafbd5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ciarci=C5=84ski?= Date: Thu, 30 Nov 2017 13:57:12 -0500 Subject: bootstrap: Check support for unordered_map from compiler mode Some versions of clang 5 (with libc++) have a problem with `unordered_map` under `-std=gnu++1z`: /usr/include/c++/__hash_table:1134:43: error: conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>' Include `unordered_map` in our test source so that we reject this combination and fall back to an older C++ standard flag. Fixes: #17526 --- bootstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap b/bootstrap index 47f7e76..6da87e7 100755 --- a/bootstrap +++ b/bootstrap @@ -1056,6 +1056,7 @@ TMPFILE=`cmake_tmp_file` echo ' #include #include +#include #if __cplusplus < 201103L #error "Compiler is not in a mode aware of C++11." -- cgit v0.12