voikko / corevoikko

Libvoikko and essential linguistic resources
Other
89 stars 25 forks source link

FTBFS with GCC 13 #51

Closed marxin closed 2 years ago

marxin commented 2 years ago

Fails with:

[   40s]                  from ./morphology/HfstAnalyzer.hpp:32,
[   40s]                  from morphology/HfstAnalyzer.cpp:29:
[   40s] /usr/include/hfst-ol.h:39:9: error: 'uint16_t' does not name a type
[   40s]    39 | typedef uint16_t SymbolNumber;
[   40s]       |         ^~~~~~~~
[   40s] /usr/include/hfst-ol.h:36:1: note: 'uint16_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
[   40s]    35 | #include "ol-exceptions.h"
[   40s]   +++ |+#include <cstdint>
[   40s]    36 | 
[   40s] /usr/include/hfst-ol.h:40:9: error: 'uint32_t' does not name a type
[   40s]    40 | typedef uint32_t TransitionTableIndex;
[   40s]       |         ^~~~~~~~
[   40s] /usr/include/hfst-ol.h:40:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
[   40s] /usr/include/hfst-ol.h:41:21: error: 'SymbolNumber' was not declared in this scope
[   40s]    41 | typedef std::vector<SymbolNumber> SymbolVector;
[   40s]       |                     ^~~~~~~~~~~~
[   40s] /usr/include/hfst-ol.h:41:33: error: template argument 1 is invalid
[   40s]    41 | typedef std::vector<SymbolNumber> SymbolVector;
[   40s]       |                                 ^

due to: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

hatapitk commented 2 years ago

Thanks for the bug report! Confirmed that this is due to https://github.com/hfst/hfst-ospell/issues/57 but I will add some imports to allow using existing versions of hfst-ospell with libvoikko.

marxin commented 1 year ago

May I please ask when do you plan a next release?

hatapitk commented 1 year ago

May I please ask when do you plan a next release?

I will try to do it within the next few weeks.