Re: Using STL strings and supporting 10.2.x
Re: Using STL strings and supporting 10.2.x
- Subject: Re: Using STL strings and supporting 10.2.x
- From: Mark Thomas <email@hidden>
- Date: Mon, 21 Apr 2008 18:10:26 +0100
- Thread-topic: Using STL strings and supporting 10.2.x
> Message: 10
> Date: Fri, 18 Apr 2008 23:20:13 -0700
> From: Chris Espinosa <email@hidden>
> Subject: Re: Using STL strings and supporting 10.2.x
> To: David Dunham <email@hidden>
> Cc: XCode Users <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> And none of Apple's current tools support development for 10.2. You
> need Xcode 1.5 or earlier with gcc 2.95.2 to deploy to 10.2, which
> will block you out of four or five years of OS improvements.
Is there anyway I can use the info from
http://developer.apple.com/technotes/tn2002/tn2064.html
here to define the wchar functions as weaked linked ? I.e.
extern "C" wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n)
__attribute__((weak_import));
as I use this technique, when using functions in system frameworks and all
works fine, as I tried to above and it didn't mark those functions as
'weaked linked'. (The source code doesn't use any wchar's, so this should be
safe, not sure at the minute why the linker didn't dead strip this code.)
Maybe, there a tool which can change the .dylib attributes post build and
make these symbols weak linked ?
Thanks
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden