[Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731)
Герхард PICCORO Lenz McKAY
notifications at xxxxx
Tue Jan 19 18:30:54 UTC 2021
i have following error when try to compile geany, using gcc 4.8 cos ist upstream provided.. is any workaround to prioperty compile of can i disable that part?
```
[ 181s] Making all in scintilla
[ 181s] make[3]: Entering directory `/usr/src/packages/BUILD/scintilla'
[ 181s] Making all in include
[ 181s] make[4]: Entering directory `/usr/src/packages/BUILD/scintilla/include'
[ 181s] make[4]: Nothing to be done for `all'.
[ 181s] make[4]: Leaving directory `/usr/src/packages/BUILD/scintilla/include'
[ 181s] make[4]: Entering directory `/usr/src/packages/BUILD/scintilla'
[ 182s] CXX gtk/ScintillaGTKAccessible.lo
[ 182s] CXX gtk/ScintillaGTK.lo
[ 182s] CXX gtk/PlatGTK.lo
[ 182s] CC gtk/scintilla-marshal.lo
[ 182s] CXX lexlib/Accessor.lo
[ 183s] CXX lexlib/CharacterCategory.lo
[ 184s] In file included from gtk/ScintillaGTKAccessible.cxx:98:0:
[ 184s] ./src/UniqueString.h: In function 'UniqueString UniqueStringCopy(const char*)':
[ 184s] ./src/UniqueString.h:27:26: error: use of deleted function 'std::unique_ptr<_Tp [], _Dp>::unique_ptr(_Up*, typename std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type*) [with _Up = char; _Tp = const char; _Dp = std::default_delete<const char []>; typename std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type = void]'
[ 184s] In file included from /usr/include/c++/4.8/memory:86:0,
[ 184s] from gtk/ScintillaGTKAccessible.cxx:64:
[ 184s] /usr/include/c++/4.8/bits/unique_ptr.h:433:2: error: declared here
[ 184s] CXX lexlib/CharacterSet.lo
[ 185s] CXX lexlib/LexerBase.lo
[ 185s] In file included from gtk/ScintillaGTK.cxx:49:0:
[ 185s] ./src/UniqueString.h: In function 'UniqueString UniqueStringCopy(const char*)':
[ 185s] ./src/UniqueString.h:27:26: error: use of deleted function 'std::unique_ptr<_Tp [], _Dp>::unique_ptr(_Up*, typename std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type*) [with _Up = char; _Tp = const char; _Dp = std::default_delete<const char []>; typename std::enable_if<std::is_convertible<_Up*, _Tp*>::value>::type = void]'
[ 185s] In file included from /usr/include/c++/4.8/memory:86:0,
[ 185s] from gtk/ScintillaGTK.cxx:21:
[ 185s] /usr/include/c++/4.8/bits/unique_ptr.h:433:2: error: declared here
[ 185s] CXX lexlib/LexerModule.lo
[ 186s] CXX lexlib/LexerNoExceptions.lo
[ 186s] CXX lexlib/LexerSimple.lo
[ 186s] make[4]: *** [gtk/ScintillaGTKAccessible.lo] Error 1
[ 186s] make[4]: *** Waiting for unfinished jobs....
[ 186s] make[4]: *** [gtk/ScintillaGTK.lo] Error 1
[ 187s] make[4]: Leaving directory `/usr/src/packages/BUILD/scintilla'
[ 187s] make[3]: *** [all-recursive] Error 1
[ 187s] make[3]: Leaving directory `/usr/src/packages/BUILD/scintilla'
[ 187s] make[2]: *** [all-recursive] Error 1
[ 187s] make[2]: Leaving directory `/usr/src/packages/BUILD'
[ 187s] make[1]: *** [all] Error 2
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2731
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210119/74f6c05f/attachment.htm>
More information about the Github-comments
mailing list