Skip to content

Commit de28a26

Browse files
Brahmajit Daslistout
authored andcommitted
Fix build with GCC 15
Building with GCC 15 results in In file included from Util/src/SymSpell/SymSpell.cpp:1: Util/include/Util/SymSpell/SymSpell.h:72:5: error: ‘uint32_t’ does not name a type 72 | uint32_t _compactMask; | ^~~~~~~~ Util/include/Util/SymSpell/SymSpell.h:32:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by add ing ‘#include <cstdint>’ 31 | #include <vector> +++ |+#include <cstdint> 32 | Caught while building lua-language-server with GCC 15 Fix taken from 234c0c8 Signed-off-by: Brahmajit Das <[email protected]>
1 parent 777089b commit de28a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Util/include/Util/SymSpell/SymSpell.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include "EditDistance.h"
2525
#include "SuggestItem.h"
2626
#include <map>
27-
#include <string>
28-
#include <string_view>
27+
#include <cstddef>
28+
#include <cstdint>
2929
#include <unordered_map>
3030
#include <unordered_set>
3131
#include <vector>

0 commit comments

Comments
 (0)