[SM-Grimoire-Bugs] [Bug 14505] New: bsd-games doesn't compile with gcc/g++ 4.3.0

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Thu May 1 14:49:10 EDT 2008


http://bugs.sourcemage.org/show_bug.cgi?id=14505

           Summary: bsd-games doesn't compile with gcc/g++ 4.3.0
           Product: Codex
           Version: games grimoire
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: games grimoire
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: jevv.cr at gmail.com


After gcc/g++ got updated to 4.3.0 under the test grimoire, bsd-games under the
games grimoire doesn't compile any more:

g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings   
-Iinclude   -Idab  -c dab/board.cc -o dab/board.o
In file included from dab/board.cc:50:
dab/gamescreen.h:73: error: multiple parameters named 'p'
dab/gamescreen.h:74: error: multiple parameters named 'p'
dab/gamescreen.h:75: error: multiple parameters named 'p'
dab/board.cc: In member function 'int BOARD::full() const':
dab/board.cc:157: warning: cast from type 'const BOARD*' to type 'BOARD*' casts
away constness
dab/board.cc: In member function 'void BOARD::paint() const':
dab/board.cc:176: warning: cast from type 'const BOARD*' to type 'BOARD*' casts
away constness
make: *** [dab/board.o] Error 1

Tha whole cast log is also attached.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list