Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2019 12:09:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235105] chinese/pyzy: fix build with GCC-based architectures
Message-ID:  <bug-235105-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235105

            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@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
                CC: henry.hu.sh@gmail.com
                CC: henry.hu.sh@gmail.com
             Flags: maintainer-feedback?(henry.hu.sh@gmail.com)

Created attachment 201306
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201306&action=
=3Dedit
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=3Dnarrowing when the architecture has base GCC (and thus use=
s new
GCC from ports).

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235105-7788>