[Bug 224930] archivers/p7zip: fails to build with clang 6.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 5 12:39:07 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224930
Bug ID: 224930
Summary: archivers/p7zip: fails to build with clang 6.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: rakuco at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 224669
Assignee: rakuco at FreeBSD.org
Flags: maintainer-feedback?(rakuco at FreeBSD.org)
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
port failed to build.
../../../../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 ;
^
../../../../CPP/Common/MyWindows.h:89:22: note: expanded from macro
'E_INVALIDARG'
#define E_INVALIDARG ((HRESULT)0x80070057L)
^
../../../../CPP/Windows/ErrorMsg.cpp:23:10: error: case value evaluates to
-2147024882, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ;
^
../../../../CPP/Common/MyWindows.h:88:23: note: expanded from macro
'E_OUTOFMEMORY'
#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)
^
../../../../CPP/Windows/ErrorMsg.cpp:22:10: error: case value evaluates to
-2147287039, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ;
^
../../../../CPP/Common/MyWindows.h:87:31: note: expanded from macro
'STG_E_INVALIDFUNCTION'
#define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L)
^
../../../../CPP/Windows/ErrorMsg.cpp:21:10: error: case value evaluates to
-2147467259, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_FAIL : txt = "E_FAIL"; break ;
^
../../../../CPP/Common/MyWindows.h:86:16: note: expanded from macro 'E_FAIL'
#define E_FAIL ((HRESULT)0x80004005L)
^
../../../../CPP/Windows/ErrorMsg.cpp:20:10: error: case value evaluates to
-2147467260, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_ABORT : txt = "E_ABORT"; break ;
^
../../../../CPP/Common/MyWindows.h:85:17: note: expanded from macro 'E_ABORT'
#define E_ABORT ((HRESULT)0x80004004L)
^
../../../../CPP/Windows/ErrorMsg.cpp:19:10: error: case value evaluates to
-2147467262, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
^
../../../../CPP/Common/MyWindows.h:84:23: note: expanded from macro
'E_NOINTERFACE'
#define E_NOINTERFACE ((HRESULT)0x80004002L)
^
../../../../CPP/Windows/ErrorMsg.cpp:18:10: error: case value evaluates to
-2147467263, which cannot
be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
case E_NOTIMPL : txt = "E_NOTIMPL"; break ;
^
../../../../CPP/Common/MyWindows.h:83:19: note: expanded from macro 'E_NOTIMPL'
#define E_NOTIMPL ((HRESULT)0x80004001L)
^
To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 archivers/p7zip
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_08h32m49s/logs/errors/p7zip-16.02.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list