| Summary: | games/widelands: fails to build with clang 8 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | Keywords: | needs-patch |
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(amdmi3) |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 236062 | ||
Reminder: Clang 8 was merged to 13.0-CURRENT in base r344779. Maintainers, expect pkg-fallout@ mail soon. A commit references this bug: Author: amdmi3 Date: Mon Mar 11 20:18:14 UTC 2019 New revision: 495388 URL: https://svnweb.freebsd.org/changeset/ports/495388 Log: - Remove some -Werror flags PR: 236211 Reported by: jbeich@FreeBSD.org Changes: head/games/widelands/Makefile head/games/widelands/files/patch-CMakeLists.txt Should be fixed now after removing relevant -Werror's. |
$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https $ poudriere testport -j clang8 games/widelands [...] In file included from src/ai/ai_help_structs.cc:20: In file included from src/ai/ai_help_structs.h:35: src/logic/map_objects/world/terrain_description.h:49:3: error: declaration shadows a variable in namespace 'Widelands' [-Werror,-Wshadow] kWater = 2, ^ src/logic/roadtype.h:36:2: note: previous declaration is here kWater = 3, ^ http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_06h42m53s/logs/errors/widelands-b19_16.log