g++ -g -c -o Book.o Book.cpp
In file included from Book.cpp:1:
Book.h:20:17: warning: no newline at end of file
g++ -g -c -o Lib.o Lib.cpp
In file included from Lib.cpp:3:
Book.h:20:17: warning: no newline at end of file
Lib.cpp:17: error: expected `)' before * token
Lib.cpp:18: error: CommandHandler was not declared in this scope
Lib.cpp:18: error: template argument 2 is invalid
Lib.cpp:18: error: template argument 4 is invalid
Lib.cpp: In constructor UserInterface::UserInterface():
Lib.cpp:33: error: CommandHandler was not declared in this scope
Lib.cpp:33: error: expected `;' before addHandler
Lib.cpp:34: error: expected `(' before mov
Lib.cpp:34: error: mov was not declared in this scope
Lib.cpp:34: error: addHandler was not declared in this scope
Lib.cpp:34: error: offset was not declared in this scope
Lib.cpp:34: error: expected `;' before UserInterface
Lib.cpp:37: error: expected `;' before removeHandler
Lib.cpp:38: error: expected `(' before mov
Lib.cpp:38: error: removeHandler was not declared in this scope
Lib.cpp:38: error: expected `;' before UserInterface
Lib.cpp:41: error: expected `;' before listHandler
Lib.cpp:42: error: expected `(' before mov
Lib.cpp:42: error: listHandler was not declared in this scope
Lib.cpp:42: error: expected `;' before UserInterface
Lib.cpp: In member function void UserInterface::run():
Lib.cpp:56: error: expected initializer before iter
Lib.cpp:57: error: iter was not declared in this scope
Lib.cpp:57: error: request for member end in ((UserInterface*)this)->UserInterface::handlers_, which is of non-class type int
Lib.cpp:59: error: CommandHandler was not declared in this scope
Lib.cpp:59: error: expected `;' before handler
Lib.cpp:62: error: expected `(' before { token
Lib.cpp:63: error: pushad was not declared in this scope
Lib.cpp:64: error: mov was not declared in this scope
Lib.cpp:64: error: expected `;' before ecx
Lib.cpp:65: error: call was not declared in this scope
Lib.cpp:65: error: handler was not declared in this scope
Lib.cpp:66: error: popad was not declared in this scope
make: *** [Lib.o] Error 1