fix issue 2968 by adding pragma(framework)#2719
fix issue 2968 by adding pragma(framework)#2719benjones wants to merge 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request and interest in making D better, @benjones! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
|
|
The DMD PR has been closed in favor of |
|
Just wished I had this again. linkerDirective only works on Windows. framework is a Mac feature. |
That's purely a DMD limitation. |
|
Alas, extern(Objective-C) doesn't work on ldc, so we're at a useless intersection. |
|
I don't see how that's related - just saying that there's no object-file limitation to make the existing pragmas work with DMD for Mac too, which cover framework use cases and more. |
|
it is related cuz the end goal here requires both, so there's no solution outside patching one or both compilers. It isn't a difficult patch, but it is hard to realize one's IVY using D when something that was written 14 years ago never got merged cuz "just use this other thing" and said other thing is also broken. |
For dmd PR: dlang/dmd#10615