Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830469 - games-emulation/nestopia-1.50 fails to compile: NstInpPowerGlove.cpp:79:6: error: non-constant-expression cannot be narrowed from type Nes::uint (aka unsigned int) to Nes::byte (aka unsigned char) in initializer list [-Wc++11-narrowing]
Summary: games-emulation/nestopia-1.50 fails to compile: NstInpPowerGlove.cpp:79:6: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-02 21:16 UTC by Agostino Sarubbo
Modified: 2022-02-09 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,76.05 KB, text/plain)
2022-01-02 21:16 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-01-02 21:16:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/nestopia-1.50 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-02 21:16:04 UTC
Created attachment 761110 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-02-09 19:16:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7756de4318427c9b5810f62730b1bef9f87ea9e4

commit 7756de4318427c9b5810f62730b1bef9f87ea9e4
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-02-09 19:15:54 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-02-09 19:15:54 +0000

    games-emulation/nestopia: silence -Wc++11-narrowing on clang
    
    Closes: https://bugs.gentoo.org/830469
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-emulation/nestopia/nestopia-1.51.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)