The weak linking documentation says to compare against NULL, which is (void *)0 in C and 0 in C++. If you just want a named constant, I think you're better off with #define WEAK_NULL_CHECK NULL instead of using an enum value from CFM.
On 03/16/09 11:47, "Christiaan Hofman" <cmhof...@gmail.com> wrote: > BTW, for debugging purposes it is better to use > kUnresolvedCFragSymbolAddress rather than NULL, that would have made > the checks I just did infinitely easier. > > Christiaan > > On 16 Mar 2009, at 7:16 PM, Maxwell, Adam R wrote: > >> Aargh! Apple's CFStringTokenizer functions don't have the correct >> attribute set (AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER), so >> apparently >> they're not weakly linked as they should be. Thanks for pointing >> that out. >> >> If you revert to a few nightly builds ago it might be okay. At >> present it >> will only occur if you have an editor window open with no associated >> files >> or URLs. >> >> >> On 03/16/09 10:57, "Alex Hamann" <mailingl...@alex-hamann.de> wrote: >> >>> Sorry for replying to my own post. But there is something wrong here. >>> 1. it does not just happen with today's nightly >>> 2. it's not about crossref >>> indeed, I can not even edit the book I want to crossref from anymore >>> will look into it some more and report back when I can describe the >>> problem better. >>> >>> Alex >>> >>> >>> On 16.03.2009, at 17:50, Alex Hamann wrote: >>> >>>> today's nightly crashes reproducibly when pressing Alt in main >>>> window >>>> and then clicking on "New with Crossref" >>>> Tiger OS X >>>> >>>> Alex >>>> >>>> >>>> >>>> >>>> Date/Time: 2009-03-16 17:47:38.555 +0000 >>>> OS Version: 10.4.11 (Build 8S165) >>>> Report Version: 4 >>>> >>>> Command: BibDesk >>>> Path: /Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk >>>> Parent: WindowServer [58] >>>> >>>> Version: 1.3.20 (1437) >>>> >>>> PID: 756 >>>> Thread: Unknown >>>> >>>> Link (dyld) error: >>>> >>>> Symbol not found: _CFStringTokenizerCreate >>>> Referenced from: /Applications/TeX/BibDesk.app/Contents/MacOS/../ >>>> Frameworks/FileView.framework/Versions/A/FileView >>>> Expected in: /System/Library/Frameworks/CoreFoundation.framework/ >>>> Versions/A/CoreFoundation >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> -------- >>>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >>>> are >>>> powering Web 2.0 with engaging, cross-platform capabilities. >>>> Quickly and >>>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>>> development >>>> software that enables intelligent coding and step-through debugging. >>>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>>> _______________________________________________ >>>> Bibdesk-users mailing list >>>> bibdesk-us...@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >>> >>> >>> ---------------------------------------------------------------------------- >>> -- >>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >>> are >>> powering Web 2.0 with engaging, cross-platform capabilities. >>> Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based >>> development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Bibdesk-users mailing list >>> bibdesk-us...@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >> >> >> ----------------------------------------------------------------------------->> - >> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) >> are >> powering Web 2.0 with engaging, cross-platform capabilities. Quickly >> and >> easily build your RIAs with Flex Builder, the Eclipse(TM)based >> development >> software that enables intelligent coding and step-through debugging. >> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >> _______________________________________________ >> Bibdesk-users mailing list >> bibdesk-us...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bibdesk-users > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Bibdesk-develop mailing list > Bibdesk-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bibdesk-develop ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop