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
src/UniqueString.cxx:31:1: error: function 'Scintilla::UniqueStringSet::UniqueStringSet()' defaulted on its redeclaration with an exception-specification that differs from the implicit declaration #2518
Comments
Hmmm, it seems that a C++17-ism has crept into Scintilla LTS version. My interpretation is that the default implementation of #2506 appears to fix that, just needs to be tested, maybe you could try it. |
Thanks for your analysis and suggestion. |
Please show the full error message. If the error message is exactly the same then you havn't switched the branches properly as #2506 removes the
|
I first cloned the repo on windows, then tried
Then copied to an offline linux, dos2unix every text files in the directory. |
|
@codebrainz , your commands saved me, thank you. |
make err:
src/UniqueString.cxx:31:1: error: function 'Scintilla::UniqueStringSet::UniqueStringSet()' defaulted on its redeclaration with an exception-specification that differs from the implicit declaration 'Scintilla::UniqueStringSet::UniqueStringSet()'
UniqueStringSet::UniqueStringSet() noexcept = default;
^
Makefile:972: recipe for target 'src/UniqueString.lo' failed
make[3]: *** [src/UniqueString.lo] Error 1
make[3]: Leaving directory '/home/sugon/geany.git/scintilla'
Makefile:996: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sugon/geany.git/scintilla'
Makefile:583: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sugon/geany.git'
Makefile:468: recipe for target 'all' failed
make: *** [all] Error 2.
Env:
Linux localhost.localdomain 3.10.0-2.nd7.33.mips64el #1 SMP PREEMPT Mon Mar 25 14:44:24 CST 2019 mips64 mips64 mips64 GNU/Linux
g++ (GCC) 4.9.3 20150626 (NeoKylin 4.9.3-3)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc (GCC) 4.9.3 20150626 (NeoKylin 4.9.3-3)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: