[haiku-development] BString / gcc4

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 22 Jun 2008 20:03:24 -0500

Hi,

Is there a reason why BString::operator[]'s return type was changed to
BStringRef instead of char on gcc4? This seems relatively pointless,
and breaks various things, i.e. you can no longer do things like
printf("%c", str[i]) without triggering a runtime exception.

Regards,

Rene

Other related posts: