/in/ex4.cpp: In member function 'virtual void bookInventory::setBook(const Book&, int)':
/in/ex4.cpp:39:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
else if (ID > numBooks)
~~~^~~~~~~~~~
/in/ex4.cpp: In member function 'virtual Book bookInventory::viewBook(int) const':
/in/ex4.cpp:51:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if(ID < 1 || ID > numBooks){
~~~^~~~~~~~~~
/in/ex4.cpp: In member function 'virtual void bookInventory::removeBook(int)':
/in/ex4.cpp:59:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if(ID < 1 || ID > numBooks){
~~~^~~~~~~~~~
/in/ex4.cpp: In member function 'void library::borrowBook(int)':
/in/ex4.cpp:93:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if(ID < 1 || ID > numBooks){
~~~^~~~~~~~~~
/in/ex4.cpp: In member function 'void library::returnBook(int)':
/in/ex4.cpp:105:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if(ID < 1 || ID > numBooks){
~~~^~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:26: recipe for target 'ex4.o' failed
make: *** [ex4.o] Error 1