Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57659 Details for
Bug 90954
eboard-0.95 doesnt compile on ~amd64 with gcc 4, here is a patch that made it compile on my computer.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch.
gcc4.patch (text/plain), 1.74 KB, created by
Alexis Ballier
on 2005-04-30 02:01:34 UTC
(
hide
)
Description:
The patch.
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2005-04-30 02:01:34 UTC
Size:
1.74 KB
patch
obsolete
>diff -Naup eboard-base/board.cc eboard2/board.cc >--- eboard-base/board.cc 2005-04-09 12:42:25.684688984 +0000 >+++ eboard2/board.cc 2005-04-11 18:52:40.029382280 +0000 >@@ -1059,8 +1059,8 @@ void Board::dump() { > cerr.setf(ios::hex,ios::basefield); > cerr.setf(ios::showbase); > >- cerr << "[board " << ((unsigned int)this) << "] "; >- cerr << "game=[" << ((unsigned int)mygame) << "] "; >+ cerr << "[board " << (this) << "] "; >+ cerr << "game=[" << (mygame) << "] "; > > cerr.setf(ios::dec,ios::basefield); > cerr << "paneid=" << getPageId() << endl; >diff -Naup eboard-base/chess.cc eboard2/chess.cc >--- eboard-base/chess.cc 2005-04-09 12:42:25.685688832 +0000 >+++ eboard2/chess.cc 2005-04-11 18:53:44.301611416 +0000 >@@ -641,7 +641,7 @@ void ChessGame::dump() { > cerr.setf(ios::hex,ios::basefield); > cerr.setf(ios::showbase); > >- cerr << "[game " << ((unsigned int)this) << "] "; >+ cerr << "[game " << (this) << "] "; > > cerr.setf(ios::dec,ios::basefield); > >@@ -655,7 +655,7 @@ void ChessGame::dump() { > cerr.setf(ios::hex,ios::basefield); > cerr.setf(ios::showbase); > >- cerr << "board=[" << ((unsigned int)myboard) << "]" << endl; >+ cerr << "board=[" << (myboard) << "]" << endl; > } > > char * ChessGame::getPlayerString(int index) { >diff -Naup eboard-base/notebook.cc eboard2/notebook.cc >--- eboard-base/notebook.cc 2005-04-09 12:42:25.683689136 +0000 >+++ eboard2/notebook.cc 2005-04-11 18:54:30.277622000 +0000 >@@ -127,7 +127,7 @@ void Page::renumber(int newid) { > void Page::dump() { > cerr.setf(ios::hex,ios::basefield); > cerr.setf(ios::showbase); >- cerr << "[page " << ((unsigned int)this) << "] "; >+ cerr << "[page " << (this) << "] "; > cerr.setf(ios::dec,ios::basefield); > cerr << "pageid=" << number << " "; > cerr << "title=" << title << " ";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 90954
: 57659 |
57660