diff options
author | 2017-08-17 20:17:50 (GMT) | |
---|---|---|
committer | 2017-08-18 02:03:19 (GMT) | |
commit | 08454a985f92e254eed7130be12d3d9e6673c64a (patch) | |
tree | b2dd3d4f9aa42a3d5a96fcfa059acc2f5fb9d308 /packages/gcc/7.1.0/952-bionic-errno.patch | |
parent | 223a1a47ab855f34401ef68f1c6fa81e2ef74ae8 (diff) |
GCC: 7.1 -> 7.2
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/gcc/7.1.0/952-bionic-errno.patch')
-rw-r--r-- | packages/gcc/7.1.0/952-bionic-errno.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/gcc/7.1.0/952-bionic-errno.patch b/packages/gcc/7.1.0/952-bionic-errno.patch deleted file mode 100644 index 91f6ca3..0000000 --- a/packages/gcc/7.1.0/952-bionic-errno.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 6cd4ad106ef87a3c58b0c3478e78409b47000de0 -Author: Howard Chu <hyc@symas.com> -Date: Tue Apr 25 20:17:03 2017 -0700 - - Fix, errno is volatile int - -diff --git a/libstdc++-v3/src/filesystem/dir.cc b/libstdc++-v3/src/filesystem/dir.cc -index 6ff12d0..5bbd664 100644 ---- a/libstdc++-v3/src/filesystem/dir.cc -+++ b/libstdc++-v3/src/filesystem/dir.cc -@@ -147,7 +147,7 @@ fs::_Dir::advance(error_code* ec, directory_options options) - - int err = std::exchange(errno, 0); - const auto entp = readdir(dirp); -- std::swap(errno, err); -+ std::swap((int&)errno, err); - - if (entp) - { |