/in/foo.cc: In function 'bool isPrime(int)':
/in/foo.cc:11:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=0;i<=n;i++)
~^~~
/in/foo.cc: In function 'int PrimeCount(int*, int)':
/in/foo.cc:11:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=0;i<=n;i++)
~^~~
/in/foo.cc:10:6: note: 'n' was declared here
int n;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=0;i<=n;i++)
~^~~
/in/foo.cc:10:6: note: 'n' was declared here
int n;
^
/in/foo.cc:11:15: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=0;i<=n;i++)
~^~~
/in/foo.cc:10:6: note: 'n' was declared here
int n;
^