Compile error - latest Vanilla Angband SVN

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PaulBlay
    Knight
    • Jan 2009
    • 657

    Compile error - latest Vanilla Angband SVN

    I'm getting the following error:

    4879 C:\RL\angband311\src\main-win.c `win_get_cmd' undeclared (first use in this function)

    I don't think I'm missing any files from my (Dev-C++ or VC++) compile. Any hints?

    [EDIT] If I change it back to get_init_cmd (which it seems to have been before) it compiles, but the game freezes on 'File -> New'.

    cmd_get appears to be eternally returning CMD_NEWGAME, (if I use 'get_init_cmd) which makes sense looking at the code but I still don't know what (or where) 'win_get_cmd' is supposed to be.

    cmd_queue in cmd_get is just piling up CMD_NEWGAME's.
    Last edited by PaulBlay; April 19, 2009, 19:04.
    Currently turning (Angband) Japanese.
  • PaulBlay
    Knight
    • Jan 2009
    • 657

    #2
    I guess I'll just try reverting to 1363 and seeing how that behaves.

    [EDIT] The 'get_init_cmd' version works just fine if I use File->Open, so it's the 'New' bit that's causing problems (I guess).
    Currently turning (Angband) Japanese.

    Comment

    • ajps
      Apprentice
      • May 2007
      • 50

      #3
      Yeah, default_get_cmd should have been called win_get_cmd (I think). Should be fixed in svn.

      Comment

      • PaulBlay
        Knight
        • Jan 2009
        • 657

        #4
        Originally posted by ajps
        Yeah, default_get_cmd should have been called win_get_cmd (I think). Should be fixed in svn.
        OK, thanks, it's working now.
        Currently turning (Angband) Japanese.

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎