Invalid overload of 'endl'
My mistake again? A stupid though passing by my brain, urging me to trying out this experiment:
...
cout << "blah blah blah";
cout << endl;
...
And this will compile OK. Miracle happen? Anyhow there is a cure for this problem:- Windows menu > choose Preferences option > select Code Analysis on left panel.
- Under Syntax and Semantic Errors > change Invalid overload's severity from Error to Warning.
I wasn't really sure why Eclipse have such configuration, a message drop to Eclipse forum regarding this problem, and they reply that there was a fix on this error. Should be on the way on next release I guess.
No comments:
Post a Comment