[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [PATCH] gcc3 fix for kdevelop (reply to kreitma@wku.edu please)
From:       Malte Starostik <malte () kde ! org>
Date:       2002-07-28 16:56:52
[Download RAW message or body]

Am Sunday 28 July 2002 18:35 schrieb slow:
> <MrGrim> body: I found the source of the kdevelop error... it turns out
> that gcc did NOT like std::endl.  Now my C++ is extremely rusty so I'm not
> sure of the consequences of removing the std:: from that but as far as I
> can tell it works and endl usually doesn't change anyways.  Anyways hope
> this helps.

>  -        kdDebug() << "*exception*: " << ex.toString().c_str() <<
> std::endl;
> +        kdDebug() << "*exception*: " << ex.toString().c_str()
Patch is correct, FWIW, std::endl is for use with std::{i,o,io}stream, the 
endl here comes from kdebug.h and is a completely different beast.
-Malte

-- 
"Corporations cross borders all the time in search of people to exploit for 
profit and no one stops them. They call this process Globalisation. On the 
other hand, the victims of corporate domination are told they cannot cross 
borders in search of better lives."
SchNEWS issue 310

[Attachment #3 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic