Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:05 Go to next message
huahsin68 Mising name is currently offline huahsin68 Mising nameFriend
Messages: 2
Registered: June 2011
Junior Member
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 10:06]

Report message to a moderator

Re: Why Invalid overload of endl? [message #1239537 is a reply to message #1239082] Tue, 04 February 2014 12:12 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
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).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:No output in console
Next Topic:nested struct expansion kepler 64bit ubuntu
Goto Forum:
  


Current Time: Wed Apr 24 16:05:01 GMT 2024

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

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

Back to the top