[Bug 235105] chinese/pyzy: fix build with GCC-based architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 21 12:09:46 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235105
Bug ID: 235105
Summary: chinese/pyzy: fix build with GCC-based architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pkubaj at anongoth.pl
CC: henry.hu.sh at gmail.com
CC: henry.hu.sh at gmail.com
Flags: maintainer-feedback?(henry.hu.sh at gmail.com)
Created attachment 201306
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201306&action=edit
patch
GCC 8 has errors like:
DoublePinyinTable.h:86:1: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]
DoublePinyinTable.h:86:1: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]
DoublePinyinTable.h:86:1: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]
DoublePinyinTable.h:86:1: error: narrowing conversion of '-1' from 'int' to
'char' inside { } [-Wnarrowing]
Add -Wno-error=narrowing when the architecture has base GCC (and thus uses new
GCC from ports).
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list