x86_64-apple-darwin16-clang++ -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -march=native -O2 -pipe -DENV_MACOSX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE ../../../../CPP/Windows/FileIO.cpp ../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing] case E_INVALIDARG : txt = "E_INVALIDARG"; break ; ^ FreeBSD folks already made a patch for this: https://svnweb.freebsd.org/ports/head/archivers/p7zip/files/patch-CPP_Windows_ErrorMsg.cpp?view=markup&pathrev=458172 Please add that patch to the ebuild. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caffb5623f45dfeb423db72bbdbee32b537757e2 commit caffb5623f45dfeb423db72bbdbee32b537757e2 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2018-05-31 12:13:46 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2018-05-31 12:13:46 +0000 app-arch/p7zip: include patch for >=clang-6, bug #655386 Closes: https://bugs.gentoo.org/655386 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-arch/p7zip/files/p7zip-16.02-darwin.patch | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+)