-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
notcurses: build on Linux #85160
notcurses: build on Linux #85160
Conversation
@dankamongmen do these errors mean anything to you? Do we just have the wrong C++ standard set, or something? |
|
This still uses GCC 5 C++ headers, that's why. I'd recommend using the latest GCC here - what's the error with that? Otherwise we would need to switch entirely to libc++. |
https://github.com/Homebrew/homebrew-core/pull/85148/checks?check_run_id=3597979801#step:7:327 I guess it's still the same problem as here. |
Looks like that error didn't disappear with Clang.
|
|
2c59c42
to
8368375
Compare
Well, it's a header and there's a From our glibc: https://github.com/bminor/glibc/blob/glibc-2.23/string/bits/string2.h#L1295-L1321 This would result in the declaration being:
Which is obviously not what is desired. The fix would be to do one of:
|
What happens if we define |
Sounds like a hack to a problem that should probably be resolved upstream. |
indeed; if y'all want to use these compilers, let me go get things working with these compilers. |
I'd say you will probably manage to reproduce the issue with Ubuntu 16.04. Using the latest GCC (11) is fine, and necessary for C++17. |
Let's revisit this later. |
hey there, sorry, forgot all about this. i'd love to build in Linuxbrew. if you'd be willing, @carlocab (or anyone else), please file an issue on Notcurses explaining what needs done, and i'll make sure it happens, ideally before the 3.0.0 release coming up this November. |
Well, part of the reason I've closed this is 1) I'm not super clear on what needs to be done (which makes filing an issue tricky), and 2) I suspect the problem will go away when we start building on Ubuntu 18.04 (migration should happen at some point soon). Point 2 above in particular means we might be able to get this built on Linux by just waiting a little bit. |
Using GCC doesn't work, so let's try Clang.