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

List:       kde-core-devel
Subject:    Re: KDE3.4RC1: Incompatibility
From:       Martin Ellis <kde () martinellis ! co ! uk>
Date:       2005-03-14 22:52:09
Message-ID: 200503142252.09563.kde () martinellis ! co ! uk
[Download RAW message or body]

On Monday 14 March 2005 21:45, Scott Wheeler wrote:
> > But you won't get around that with a C API.  Without operator
> > overloading you can't fix:
> >
> > GString *s = g_string_new("foo");
> > gchar c = s[10];

OK. Good point.

BTW, maybe lists have semantic checking, but the array code I've 
looked at certainly doesn't.
Either way, it's not hugely important if people are coding stuff like 
this.

On Monday 14 Mar 2005 22:22, Bernhard Rosenkraenzer wrote:
> So let's fix the code that uses it (by making it use Qt or at least
> libstdc++) rather than reinventing the same crap

I agree this is the best long term solution.

> Fixing the apps that use it to use something else (QtCore from Qt
> 4.0 seems a good choice) shouldn't be too hard, just time
> consuming...

Indeed.  I would have done this for some glib-based
code already, if only I actually had that time. ;-(

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

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