[Github-comments] [geany/geany] 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)

elextr notifications at xxxxx
Thu May 28 05:05:34 UTC 2020


Hmmm, it seems that a C++17-ism has crept into Scintilla LTS version.

My interpretation is that the default implementation of `Scintilla::UniqueStringSet::UniqueStringSet()` is not `noexcept` because although C++11 defined `noexcept` it was not until C++17 that the `std::vector` default constructor was made `noexcept` so the default constructor for `Scintilla::UniqueStringSet::UniqueStringSet` cannot be `noexcept` and so it conflicts with the explicitly specified `noexcept`.

#2506 appears to fix that, just needs to be tested, maybe you could try it.


-- 
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/2518#issuecomment-635103116
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200527/f786d392/attachment.htm>


More information about the Github-comments mailing list