Menu

#3 NoSuchError was not declared

v1.0_(example)
open
nobody
None
5
2013-04-19
2013-04-19
dkn2114
No

goblin 2.8.b30
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
uname -s Linux
uname -m x86_64

I got a lot of error message like this when I build it:

lib_src/staticStack.cpp:249:15: error: ‘NoSuchItem’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
lib_src/staticStack.cpp:249:15: note: declarations in dependent base ‘managedObject’ are not found by unqualified lookup
lib_src/staticStack.cpp:249:15: note: use ‘this->NoSuchItem’ instead

After I changed NoSuchItem to this->NoSuchItem it worked. Same thing I had to do for Error to this->Error, NoSuchIndex to NoSuchIndex in all the files.

Discussion


Log in to post a comment.