Compiler output
prog.cpp:4:5: warning: second argument of 'int main(int, char*)' should be 'char **' [-Wmain]
int main(int argc, char *argv)
^
prog.cpp: In function 'int main(int, char*)':
prog.cpp:7:7: warning: unused variable 'ok' [-Wunused-variable]
bool ok = false;
^
prog.cpp: At global scope:
prog.cpp:4:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv)
^
prog.cpp:4:26: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char *argv)
^