> On 30 Jan 2017, at 21:12, Adam R. Maxwell <amaxw...@mac.com> wrote:
> 
> 
> 
> On Jan 30, 2017, at 11:43 AM, Christiaan Hofman <cmhof...@gmail.com> wrote:
> 
>> 
>>> On 30 Jan 2017, at 18:27, Adam R. Maxwell <amaxw...@mac.com 
>>> <mailto:amaxw...@mac.com>> wrote:
>>> 
>>>> On Jan 30, 2017, at 06:18 , Christiaan Hofman <cmhof...@gmail.com 
>>>> <mailto:cmhof...@gmail.com>> wrote:
>>>> 
>>>>> On 30 Jan 2017, at 14:37, Christiaan Hofman <cmhof...@gmail.com 
>>>>> <mailto:cmhof...@gmail.com>> wrote:
>>>>> Adam, it looks like Xcode 8 does not support QTKit anymore. This means 
>>>>> that the FileView project does not compile anymore. Do you know what 
>>>>> should change to fix thuis, can QTKit dependency be easily removed?
>>> 
>>> When I wrote it, they had just deprecated QT and were encouraging everyone 
>>> to use the new QTKit framework, so this is nice. I guess the replacement is 
>>> a bunch of AVFoundation stuff, but I've never worked with that framework. 
>>> I'll look into it.
>>> 
>> 
>> For now I have commented out the parts that uses QTKit. That seems to work, 
>> just drops support for movie icons (not a very big loss I think).
> 
> 
> It could probably fall back to Quick Look for those with no loss in 
> functionality (I think...I haven't looked at the code in years). I'm probably 
> the only person who has actually attached animations to references :).
> 
> The main reason to have that QT code was probably for OS versions that didn't 
> have Quick Look, which is another neat Apple idea that's been lobotomized 
> over time (they recently removed the ability to copy from documents).
>  
>> 
>> 
>>>> And another problem is that I get a warning about libstc++ being 
>>>> deprecated. Is there a way to get rid of that?
>>> 
>>> I think the malloc zone stuff still uses C++, so I'm not sure how to link 
>>> it without that. Sorry I haven't noticed this; I gave up on updating Xcode 
>>> since it just keeps getting shittier. I think the clang team spends most of 
>>> their time inventing new warnings and trying to turn Obj-C into C++ or Java.
>>> 
>>> -- 
>>> adam
>> 
>> Yea, they’re dismantling Job’s heritage, I guess.
> 
> 
> The iPhone and iPad are now the cash cow that John Scull...I mean, Tim Cook, 
> is milking for revenue. I need a new desktop for work, and I'm actually 
> worried about this. My Mac Pro is 8 years old, and I don't want to give up 
> the internal drive bays, Firewire, DVD burner, and 8 core processor for a 
> "current" Mac Pro with fewer cores and a bunch of external drives and cables. 
> DataTank is really the only program I couldn't replace on Linux or Windows. I 
> quit my Mac TeX development activities except for bug fixes when Xcode turned 
> into Microsoft Visual Studio.
> 
> (sorry for the rant; 25 years of being an Apple advocate has crashed into a 
> brick wall recently)
>  
>> 
>> 
>> Unfortunately I have no idea about the C++ part of FileView. Is it required 
>> for the memory management and caching improvements?
> 
> 
> 
> Yeah, there's a C++ map used. It may just work if you remove the libstdc++ 
> linkage, if they've incorporated that into some other part of the compile 
> chain or libSystem; there's no way they can eliminate C++ and the STL. I'll 
> install Xcode 8 and mess with it. There _may_ be other parts using C++, also. 
> It was part of the disk caching a long time ago.
> 
> — adam

The linking is actually already implicit, we never seem to link explicitly to 
libstdc++ (I think it comes from the C++ rules, which is set to compiler 
default). 

It seems they just don’t want to support C++ with a deployment target prior to 
10.9. 

There seems to be 3 files using C++: fv_zone.cpp, FVPriorityQueue.mm, and 
FVCacheFile.mm.

For now it seems that we can still use it all, by ignoring the annoying warning.

Christiaan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to