commit | ad464887b93526235ce06bbf97cd396ed6232b9a | [log] [tgz] |
---|---|---|
author | Thomas Anderson <thomasanderson@google.com> | Thu Jun 13 22:27:24 2019 +0000 |
committer | Thomas Anderson <thomasanderson@google.com> | Thu Jun 13 22:27:24 2019 +0000 |
tree | be02af69627257ddca70ec383b5f0abed1b8e41b | |
parent | ead1950731557921e3d6aceb03e53422267c6e14 [diff] |
[libc++] Fix build with gcc 4.8 gcc 4.8.4 (but not 5.4.0 or 7.3.0) has trouble initializing errc with {}, giving the error in [1]. This CL switches to explicitly using errc(0), which gcc 4.8 accepts. [1] https://bugs.chromium.org/p/chromium/issues/detail?id=973723 Differential Revision: https://reviews.llvm.org/D63296 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@363333 91177308-0d34-0410-b5e6-96231b3b80d8