Changes between Version 1 and Version 2 of Ticket #59992, comment 26
- Timestamp:
- Mar 28, 2020, 1:05:14 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59992, comment 26
v1 v2 1 Anything that uses Xcode clang and modules is broken in MacPorts by ncurses. Modules are a newer feature, so penetrance is evolving. I manually delete the libtapi tests that use modules, so you wouldn't see it. Proper clang-devel builds now want modules, and fail in MacPorts because of ncurses. Sure, perhaps I could disable modules project-by-project. I'm just not going to do that.1 Anything that uses Xcode clang and modules is currently not functional in MacPorts by ncurses. Modules are a newer feature, so penetrance is evolving. 2 2 3 google this "error: unknown type name 'SCREEN'" for hits on other projects. Those hits usually lead to a suggestion much like you did "disable macports headers".or "uninstall macports". That's not a great solution.3 I manually delete the libtapi tests that use modules, so you wouldn't see it. Proper clang-devel builds now want modules, and fail in MacPorts because of ncurses. 4 4 5 I have tweaked my MacPorts unctrl.h to work around this, as at present that is the only solution I know of, other than disabling MacPorts, that generally works.5 google "error: unknown type name 'SCREEN'" for hits on other projects. 6 6 7 We can talk about the purity of working around a clang issue by tweaking ncurses --- it's not a pure fix, I know .7 I have tweaked my MacPorts unctrl.h to work around this, as at present that is the only solution I know of that generally works --- it's not a pure fix, I know . 8 8 9 But neither is unsetting CPATH and the library path, or disabling module support, or the parts of projects that require modules. We'll have to go back and undo all those hacks when clang is fixed too, and IMHO those are muchmore impactful than tweaking unctrl.h until Apple figures this out.9 But neither is unsetting CPATH and the library path, or disabling module support, or the parts of projects that require modules. We'll have to go back and undo all those when clang is fixed too, and IMHO those are more impactful than tweaking unctrl.h until Apple figures this out. 10 10 11 Or perhaps you can fix the clang issue, Marcus. If we could do that, all this would go away in a proper fashion.11 Or perhaps we can fix the clang issue -- if we could do that, all this would go away in a proper fashion.