Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Why Invalid overload of endl?
icon4.gif  Why Invalid overload of endl? [message #1239082] Mon, 03 February 2014 05:05 Go to next message
Eclipse UserFriend
When I was compiling a simple program like following:

cout << "Hello World" << endl;


The Eclipse Kepler throwing an error indicate that "Invalid overload of endl".

If I do this

cout << "Hello World";
cout << endl;

this will working fine.

Alternately, by turning off the Invalid Overload's severity in Code Analysis will solved the problem. Before I do this, is there any concern why this feature is on by default?

[Updated on: Mon, 03 February 2014 05:06] by Moderator

Re: Why Invalid overload of endl? [message #1239537 is a reply to message #1239082] Tue, 04 February 2014 07:12 Go to previous message
Eclipse UserFriend
This is fixed in git https://bugs.eclipse.org/bugs/show_bug.cgi?id=417700
So I guess this bugfix will be included in the 8.3 release (february).
Previous Topic:No output in console
Next Topic:nested struct expansion kepler 64bit ubuntu
Goto Forum:
  


Current Time: Sat Jul 05 11:07:26 EDT 2025

Powered by FUDForum. Page generated in 0.86274 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top