Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Oct 2018 18:39:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231954] games/7kaa: fix build on powerpc64
Message-ID:  <bug-231954-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231954
           Summary: games/7kaa: fix build on powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
          Assignee: amdmi3@FreeBSD.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)

Created attachment 197789
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197789&action=
=3Dedit
patch

Building on powerpc64 causes following errors:
(00:09:33) OBULLET.cpp:41:78: error: narrowing conversion of '-1' from 'int=
' to
'char' inside { } [-Wnarrowing]
(00:09:33) OBULLET.cpp:41:78: error: narrowing conversion of '-1' from 'int=
' to
'char' inside { } [-Wnarrowing]

Use CXXFLAGS_powerpc64=3D-Wno-error=3Dnarrowing to fix it.

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-231954-7788>