foo.cpp:10:18: error: array bound is not an integer constant before ']' token
foo.cpp: In function 'void prime()':
foo.cpp:13:12: error: 'isprime' was not declared in this scope
foo.cpp: In function 'bool is(long long int)':
foo.cpp:32:12: error: 'isprime' was not declared in this scope
foo.cpp: In function 'int main()':
foo.cpp:46:20: warning: unknown conversion type character 'l' in format [-Wformat]
foo.cpp:46:20: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:53:22: warning: unknown conversion type character 'l' in format [-Wformat]
foo.cpp:53:22: warning: too many arguments for format [-Wformat-extra-args]