foo.cc: In function ‘bool isPrime(long long int)’:
foo.cc:10:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
10 | if(num == 2 || num == 3 )
| ^~
foo.cc:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
12 | if(num % 6 != 1 && num % 6 != 5)
| ^~
foo.cc: In function ‘int main()’:
foo.cc:29:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
29 | for(int i = 0; i < v.size(); i++)
| ~~^~~~~~~~~~