Source: tome
Version: 2.41-ah~0.git.20200131-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Hi,

tome started to FTBFS when GCC 10 was made the default compiler:

In file included from /build/tome-2.41-ah~0.git.20200131/src/init1.cc:1:
/build/tome-2.41-ah~0.git.20200131/src/init1.hpp:8:27: error: 'FILE' was not 
declared in this scope
    8 | errr init_player_info_txt(FILE *fp);
      |                           ^~~~
/build/tome-2.41-ah~0.git.20200131/src/init1.hpp:5:1: note: 'FILE' is defined 
in header '<cstdio>'; did you forget to '#include <cstdio>'?
    4 | #include "dungeon_flag_set.hpp"
  +++ |+#include <cstdio>
    5 | 
/build/tome-2.41-ah~0.git.20200131/src/init1.hpp:8:33: error: 'fp' was not 
declared in this scope
    8 | errr init_player_info_txt(FILE *fp);
      |                                 ^~
[...]


Andreas

Reply via email to