> On 31 Oct 2018, at 19:41, Maxwell, Adam R <adam.maxw...@pnnl.gov> wrote: > > > >> On Oct 31, 2018, at 11:21, Christiaan Hofman <cmhof...@gmail.com> wrote: >> >> I did change the new/delete with malloc/free, so that gets rid of the errors >> at least. doesn’t libc++ know about new/delete? > > You have to change the file extension from .m to .mm, so it knows it’s > Obj-C++. That gets rid of the new/delete error. >
Stupid, I forgot that was the file I changed, and overlooked the new/delete. >> But now I get a host of warnings about deprecated methods for 10.7. > > Yeah, those are from Apple’s push to rename methods that have been around > FOREVER. Possibly because the documentation is no good anymore. I mean > -[NSWindow convertBaseToScreen:] has been there since 10.0, and the > documentation now says to use -[NSWindow convertRectToScreen:] instead. The > header says you can also use -[NSWindow convertPointToScreen:], but that has > no documentation except that it’s 10.12+ only. WTF is this. > > — adam Ah, I actually did not notice the 10.12+, that is truly stupid. Fortunately they did define convertRectToScreen: on 10.7+. And as far as the documentation, I get the impression the complete documentation misses all descriptions for some time now. And that’s even true for the Swift versions. Christiaan
_______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop