Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144548 Details for
Bug 211322
games-arcade/supertux-0.1.3 crashes when using non-debug builds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for correcting the -DNDEBUG problem
supertux-0.1.3-ndebug.patch (text/plain), 689 bytes, created by
Guenther Brunthaler
on 2008-02-25 00:08:40 UTC
(
hide
)
Description:
Patch for correcting the -DNDEBUG problem
Filename:
MIME Type:
Creator:
Guenther Brunthaler
Created:
2008-02-25 00:08:40 UTC
Size:
689 bytes
patch
obsolete
>Index: supertux-0.1.3/src/tile.cpp >=================================================================== >--- supertux-0.1.3.orig/src/tile.cpp >+++ supertux-0.1.3/src/tile.cpp >@@ -99,7 +99,11 @@ void TileManager::load_tileset(std::stri > tile->anim_speed = 25; > > LispReader reader(lisp_cdr(element)); >+ #ifdef NDEBUG >+ void(reader.read_int("id", &tile->id)); >+ #else > assert(reader.read_int("id", &tile->id)); >+ #endif > reader.read_bool("solid", &tile->solid); > reader.read_bool("brick", &tile->brick); > reader.read_bool("ice", &tile->ice);
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 211322
:
144545
| 144548