ec3.cpp: In function ‘int main(int, char**)’: ec3.cpp:8:10: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] char a[10]; ^ ec3.cpp:43:10: warning: unused variable ‘q’ [-Wunused-variable] int* q = new int; ^ ec3.cpp: In function ‘bool g(int&)’: ec3.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type] } ^