Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

Compilation fails with GCC 13 #502

Closed GaetanLepage closed 6 months ago

GaetanLepage commented 6 months ago

When trying to install ale-py with GCC13 as a compiler, the build fails with several instances of such error:

note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?

I guess that <cstdint> has now to be explicitly included: https://gcc.gnu.org/gcc-13/porting_to.html

pseudo-rnd-thoughts commented 6 months ago

Thanks for finding that @GaetanLepage, would you be able to submit a PR fixing the issue?

GaetanLepage commented 6 months ago

Thanks for finding that @GaetanLepage, would you be able to submit a PR fixing the issue?

I guess that it would only boil down to adding a bunch of include <cstdint> at the beginning of the right files. However, I fear that I won't have the time for this during the next few days...