In file included from /in/main/main.cpp:3:0:
/in/detector.h: In member function 'void Detector::maxDetector(std::vector<int>)':
/in/detector.h:28:47: error: expected identifier before '(' token
if((arr[j-1]==0)||(arr[j+1]==0))&&(arr[j]>t){
^
/in/detector.h:28:47: error: taking the address of a label is non-standard [-Werror=pedantic]
/in/detector.h:16:34: error: unused parameter 'inputArray' [-Werror=unused-parameter]
void maxDetector(vector<int> inputArray){
^~~~~~~~~~
cc1plus: all warnings being treated as errors