HomePhabricator

[libc++] Fix build with gcc 4.8

Authored by thomasanderson on Jun 13 2019, 3:27 PM.

Description

[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

llvm-svn: 363333

Details

Committed
thomasandersonJun 13 2019, 3:27 PM
Differential Revision
D63296: [libc++] Fix build with gcc 4.8
Parents
rG4336a9496d4c: [AMDGPU] gfx10 documentation update. NFC.
Branches
Unknown
Tags
Unknown