This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
FTBFS with GCC 13 #1281
Open
Description
Fails with:
[ 13s] c++ -pthread -std=c++11 -O3 -funroll-loops -DNDEBUG -c src/args.cc
[ 13s] src/args.cc: In member function 'int64_t fasttext::Args::getAutotuneModelSize() const':
[ 13s] src/args.cc:468:3: error: 'uint64_t' was not declared in this scope
[ 13s] 468 | uint64_t multiplier = 1;
[ 13s] | ^~~~~~~~
[ 13s] src/args.cc:17:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
[ 13s] 16 | #include <unordered_map>
[ 13s] +++ |+#include <cstdint>
[ 13s] 17 |
[ 13s] src/args.cc:471:5: error: 'multiplier' was not declared in this scope
[ 13s] 471 | multiplier = units[lastCharacter];
[ 13s] | ^~~~~~~~~~
[ 13s] src/args.cc:474:11: error: expected ';' before 'size'
[ 13s] 474 | uint64_t size = 0;
[ 13s] | ^~~~~
[ 13s] | ;
due to:
https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
Metadata
Metadata
Assignees
Labels
No labels
Activity