/in/ex5.cpp: In constructor 'bookInventory::bookInventory(int)':
/in/ex5.cpp:15:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (unsigned int i = 0; i < maxBooks; i++)
~~^~~~~~~~~~
/in/ex5.cpp: In member function 'bool bookInventory::repOK()':
/in/ex5.cpp:35:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (emptycount < size && empty) // Condition 1
~~~~~~~~~~~^~~~~~
/in/ex5.cpp:37:37: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
if (numBooks > size || numBooks < 0) // Condition 4
~~~~~~~~~^~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:26: recipe for target 'ex5.o' failed
make: *** [ex5.o] Error 1