Failing to compile on Linux #35041
Labels
Code: Build
Issues regarding different builds and build environments
OS: Linux
Issues related to Linux operating system
Describe the bug
Latest master fails to compile on Linux with the following output:
Was compiling the latest code on this machine for a year now without issues. Also tried without CCACHE and got the same issue.
Tried to comment out
reported_unvisited_members
in json.h but then compilation failed when it ran into the use ofreported_unvisited_members
in json.cpp. Looks like astyle or clang might be getting confused by#ifndef CATA_IN_TOOL
in json.cpp.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Latest master compiles on Linux.
Versions and configuration
Can't generate this in-game because compilation fails and the old binary I have crashes with the latest master.
Additional context
clang 8.0.1
ccache 3.7.3
astyle 3.1
cmake 3.15.3
The text was updated successfully, but these errors were encountered: