Source incompatibility in klocale.h

Dominique Devriese dominique.devriese at
Tue Jan 21 20:38:04 GMT 2003

Matthias Kretz writes:

  Matthias> Hi, The new function in kdelibs/kdecore/klocale.h:
  Matthias> formatNumber(long) const breaks source compatibility since
  Matthias> a call to formatNumber( short ) is ambiguous now.

  Matthias> I have no idea how to cleanly resolve this... any ideas?

explicitly adding a formatNumber( short ) overload ?

What no spouse of a writer can ever understand is that a writer is working
when he's staring out the window.

More information about the kde-core-devel mailing list