Menu

#136 Fails to compile due to wrong scopes in _NwnLib (2.3.2)

NWNTools
open
nobody
5
2014-12-17
2007-03-11
No

On Debian Etch, using gcc-4.1 (same results with gcc-3.4):

NscCompiler.cpp: In function ‘bool NscCompilerInitialize(CNwnLoader*, int, bool)’:
NscCompiler.cpp:110: error: ‘INT_TYPE’ was not declared in this scope
NscCompiler.cpp:111: error: ‘FLOAT_TYPE’ was not declared in this scope
NscCompiler.cpp:112: error: ‘OBJECT_TYPE’ was not declared in this scope
NscCompiler.cpp:113: error: ‘STRING_TYPE’ was not declared in this scope
NscCompiler.cpp:114: error: ‘STRUCT_TYPE’ was not declared in this scope
NscCompiler.cpp:115: error: ‘VOID_TYPE’ was not declared in this scope
NscCompiler.cpp:116: error: ‘VECTOR_TYPE’ was not declared in this scope
NscCompiler.cpp:117: error: ‘ACTION_TYPE’ was not declared in this scope
NscCompiler.cpp:119: error: ‘BREAK’ was not declared in this scope
NscCompiler.cpp:120: error: ‘CASE’ was not declared in this scope
NscCompiler.cpp:121: error: ‘CONTINUE’ was not declared in this scope
NscCompiler.cpp:122: error: ‘DEFAULT’ was not declared in this scope
NscCompiler.cpp:123: error: ‘DO’ was not declared in this scope
NscCompiler.cpp:124: error: ‘ELSE’ was not declared in this scope
NscCompiler.cpp:125: error: ‘FOR’ was not declared in this scope
NscCompiler.cpp:126: error: ‘IF’ was not declared in this scope
NscCompiler.cpp:127: error: ‘RETURN’ was not declared in this scope
NscCompiler.cpp:128: error: ‘SWITCH’ was not declared in this scope
NscCompiler.cpp:129: error: ‘WHILE’ was not declared in this scope
NscCompiler.cpp:131: error: ‘NWCONST’ was not declared in this scope
NscCompiler.cpp:133: error: ‘OBJECT_SELF_CONST’ was not declared in this scope
NscCompiler.cpp:134: error: ‘OBJECT_INVALID_CONST’ was not declared in this scope

And:

NscParser.ypp: In member function ‘virtual int yy::parser::parse()’:
NscParser.ypp:660: error: ‘yylooka’ was not declared in this scope
NscParser.ypp:662: error: ‘yylooka’ was not declared in this scope
NscParser.ypp:669: error: ‘yylooka’ was not declared in this scope
NscParser.ypp:987: error: ‘yylooka’ was not declared in this scope
NscParser.ypp:989: error: ‘yylooka’ was not declared in this scope
NscParser.ypp:996: error: ‘yylooka’ was not declared in this scop

Discussion

  • Victor Nawothnig

    config.log

     
  • Victor Nawothnig

    • summary: Fails to compile due to wrong scopes in _NwnLib --> Fails to compile due to wrong scopes in _NwnLib (2.3.2)
     
  • Victor Nawothnig

    • labels: 494656 --> Build Problems
     
  • Vincent Hatakeyama

    I have the same error on NssCompiler.cpp while I want to compile in Ubuntu 11.04. I have apparently no error in NscParser.ypp

     

Log in to post a comment.