Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2020 08:39:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245200] emulators/emu64 : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: error: narrowing conversion of '-1' from 'int' to 'char' [-Wnarrowing]
Message-ID:  <bug-245200-7788-JGHgCqVMF4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245200-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245200-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Felix Palmen <felix@palmen-it.de> ---
Created attachment 212886
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212886&action=
=3Dedit
allow narrowing conversions

This looks like the code assumes char is always signed, I will report a bug
upstream. Could you try whether you can build with the attached patch and
whether the result works correctly?

--=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-245200-7788-JGHgCqVMF4>