[haiku-commits] Re: haiku: hrev43812 - in src/kits: tracker interface

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 2 Mar 2012 20:48:43 -0500

On Fri, Mar 2, 2012 at 8:41 PM,  <anevilyak@xxxxxxxxx> wrote:
>  Previously, there were two instances of the actual variables, named in
>  ControlLook.cpp and Utilities.cpp. This caused clashes on gcc4 builds, 
> leading
>  to various crashes during initialization. Instead we now declare them as
>  static constants in the header itself as is done for various other interface
>  color constants elsewhere. Fixes ticket #8358.

Note that the reason the crash was only seen on some apps was that it
depended on the library link order. Only apps where a) both libbe and
libtracker were present, and b) libtracker was linked first exhibited
the issue.

Regards,

Rene

Other related posts: