-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS tweaks #155
MacOS tweaks #155
Conversation
Thanks for this patch. About the abort, was that the latest master, or a previous version? If it's a previous version, that may have already been fixed in 42ef090 on Feb 28th. |
It was the latest master. It occurred to me that my account on this machine has no nedit-ng configuration files at all, and frame 5 of the back-trace implied it was a problem with loading preferences. I copied the binary that was crashing over to my Mojave machine and it worked fine there, so I copied my config.ini and theme.xml files over to the appropriate place on my High Sierra box where it was crashing and I am now able to run it with no problem. Thus it looks like the bug is related to running a recent nedit-ng version on an account with no preferences – you might even be able to replicate this on Linux. Thanks! |
OK, I'll take a look at it! |
@anjohnson That default pref issue should be fixed! It was only on "generic unix" and "windows" (not linux or freebsd). Basically, If the file doesn't exist, I load a default from a resource, located by name... well, I got the name wrong in two spots! Thanks for the report! |
BTW, regarding the warnings.., The first two are "tricky" but doable, the issue is that The last warning about |
I don't know if I did say up front that you wouldn't be able to fix the X11/Xfuncproto.h warning... Thanks for the fix, I have more config files with it than I did before. |
These changes make it possible to build on MacOS Mojave (they moved the X11 libraries to
/opt/X11
), and fix a build warning.I do still get these warnings at build-time:
which you might be able to fix should you wish to, and this one:
which you won't.
Not relevant to this PR but... I have nedit-ng (built and) working on MacOS Mojave, but the version built on the previous OS High Sierra (with a slightly older version of clang) dies there with an abort. In both cases I'm building against Qt 5.14.1. When I run it under lldb I get this backtrace:
If you can suggest a fix I'd be happy to try it.