Fixed compiler warning
Added missing declaration in header file
Treat warnings as errors