Skip to content
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

textadept-curses doesn't build on Ubuntu 22.04 #294

Closed
paaguti opened this issue Nov 14, 2022 · 3 comments
Closed

textadept-curses doesn't build on Ubuntu 22.04 #294

paaguti opened this issue Nov 14, 2022 · 3 comments

Comments

@paaguti
Copy link

paaguti commented Nov 14, 2022

I feel I'm starting to be annoying. Maybe it's because I have an easy way to build for a bunch of distros using Docker... sorry...

g++ -Os -std=c++17 -pedantic -DSCI_LEXER -DNDEBUG -Iscintilla/include -Iscintilla/src -Ilexilla/include -Ilexilla/lexlib -Wall -DCURSES -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c scintilla/curses/PlatCurses.cxx -o PlatCurses.o
In file included from scintilla/curses/PlatCurses.cxx:45:
scintilla/src/Document.h:204:47: error: expected class-name before '{' token
  204 | struct RegexError : public std::runtime_error {
      |                                               ^
scintilla/src/Document.h: In constructor 'Scintilla::Internal::RegexError::RegexError()':
scintilla/src/Document.h:205:42: error: expected class-name before '(' token
  205 |         RegexError() : std::runtime_error("regex failure") {}
      |                                          ^
scintilla/src/Document.h:205:42: error: expected '{' before '(' token
@kbarni
Copy link

kbarni commented Nov 14, 2022

See this solution, if it helps: #286

Check if there is #include <stdexcept> in scintilla/src/Document.h. If it's not there, you need to update your local branch.

@orbitalquark
Copy link
Owner

orbitalquark commented Nov 14, 2022 via email

@paaguti
Copy link
Author

paaguti commented Nov 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants