Share

OpenKnights

Tracker: Bugs

5 Fails to compile due to wrong scopes in _NwnLib (2.3.2) - ID: 1678286
Last Update: Settings changed ( norc__ )

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


Victor Nawothnig ( norc__ ) - 2007-03-11 12:36

5

Open

None

Nobody/Anonymous

Build Problems

NWNTools

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
config.log config.log Download

Changes ( 3 )

Field Old Value Date By
category_id Generic 2007-03-11 22:50 norc__
summary Fails to compile due to wrong scopes in _NwnLib 2007-03-11 22:49 norc__
File Added 219844: config.log 2007-03-11 12:36 norc__