So guys, I was compiling a program in my BlueJ, where I had to make a loop from 2 to 10^15, and I come across this error-
-Warnings from last Compilation Some messages have been simplified, recompile with -Xdiags:Verbose to receive full output
Its indeed, not showing the full output.
My code was simple one, I wanted to print all prime numbers in between 2 to 10^15. But its giving an error in for loop that “integer is too large”
So yeah, any idea how I can fix these two errors? MAke the for loop run AND get full output? Will appreciate it, thanks!!
EDIT 1 -
At this point guys, I am also interested to know what this error is, and what it means by saying that “recompile with -Xdiags:Verbose to receive full output” and how do I do it.
Its a unusual warning in BlueJ, and so google didn’t help.