#21 gcc 4.4 does not build ( plus fix)

General
open
nobody
Legacy (21)
5
2010-04-26
2010-01-06
No

8 kingdoms doesn't build with gcc4.4.

attached is patch to fix it.

Discussion

  • Josef Reidinger

    Josef Reidinger - 2010-01-06

    Hmm, attaching file doesn't work for me ( strange ). So I inline it here:

    Index: src/world/map/map.cc

    --- src/world/map/map.cc (revision 29)
    +++ src/world/map/map.cc (working copy)
    @@ -267,6 +267,7 @@
    switch (options) {

    case SAVE_GAME_PLAY:
    + {

    DOMElement* views_list = document->createElement(
    XMLString::transcode("views_list"));
    @@ -292,7 +293,7 @@
    }
    }
    break;
    -
    + }
    default:
    break;
    }
    @@ -307,6 +308,7 @@
    XMLString::transcode("version")))) {

    case 2009:
    + {

    k8_int_t views = XMLString::parseInt(
    element->getAttribute(XMLString::transcode("views")));
    @@ -359,7 +361,7 @@
    }

    break;
    -
    + }
    default:

    assert(false);
    @@ -468,6 +470,7 @@
    XMLString::transcode("version")))) {

    case 2009:
    + {

    DOMNodeList* hexagons = element->getElementsByTagName(
    XMLString::transcode("hexagon-view"));
    @@ -484,7 +487,7 @@
    }

    break;
    -
    + }
    default:

    assert(false);

     
  • Greg*

    Greg* - 2010-04-26
    • labels: 586456 --> Legacy
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks