Summary: | games-board/hexxagon: fails to build with gcc-4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, pacho, vasuvi7 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
Build log
hexxagon-1.0-fix-build.patch Fixes several C++ issues that were causing errors with GCC 4.4 Fixes it for 4.4 without causing errors for 4.3 and below anymore |
Description
Diego Elio Pettenò (RETIRED)
2009-06-10 10:56:44 UTC
Created attachment 194131 [details]
Build log
Created attachment 194154 [details, diff]
hexxagon-1.0-fix-build.patch
Mandriva is applying this patch
(In reply to comment #2) > Created an attachment (id=194154) [edit] > hexxagon-1.0-fix-build.patch > > Mandriva is applying this patch > Doesn't help. src/libhexx/bitboard64.h for example is missing stdio.h for printf, and there's more issues beyond these... Using commit message: ------------------------------------------------------------------------------ Fix building with GCC 4.4+ wrt #273226, thanks to vasuvi from #gentoo-kde for patch. (Portage version: 2.2_rc38/cvs/Linux x86_64) ------------------------------------------------------------------------------ Created attachment 201078 [details, diff]
Fixes several C++ issues that were causing errors with GCC 4.4
This is a patch against the original source tarball with no other patches applied.
(In reply to comment #5) > Created an attachment (id=201078) [edit] > Fixes several C++ issues that were causing errors with GCC 4.4 > > This is a patch against the original source tarball with no other patches > applied. > It works with GCC 4.4, but it doesn't anymore with GCC 4.3... Still got it installed? move.h:33: error: redefinition of 'class libhexx::Move' board.h:36: error: previous definition of 'class libhexx::Move' Many files include both, move.h and board.h and seems the GCC isn't smart enough to handle the similar class Move? Created attachment 201140 [details, diff]
Fixes it for 4.4 without causing errors for 4.3 and below anymore
Fix for my earlier fix, again a patch against the original source tarball
|