aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 3 [4]

Author Topic: Mac Compile Error  (Read 23763 times)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Mac Compile Error
« Reply #45 on: August 17, 2007, 07:36:36 AM »

wuischke,

The message in question is not debug, it is supposed to go to stdout so that we know what is this directory mapped in each wxWidget platform.

This function should not have been called so many times, but if this is really needed, we should cache the result.

Cheers!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Mac Compile Error
« Reply #46 on: August 17, 2007, 09:32:05 AM »

Hi lionel! Nice to see you back here!

phoenix,

I worked on this and (as long as everyone uses wx 2.8) removed the necessity of this function altogether. It was called for every locale, adding additional prefix paths for locales. Fortunately wx already had the right standard lookup paths for Windows and Linux, only the Mac path is different. So I added the Mac-prefix directly in InitLocale and removed the function.

If you want me to dig up the right code in wx code, please tell me so in the forum topic I wrote about getlocaledir.
Logged
Pages: 1 2 3 [4]