gcc 15 issue
Description:
Trying to compile eternalterminal(aur) results in error:
In file included from /usr/include/absl/hash/internal/hash.h:33,
from /usr/include/absl/hash/hash.h:89,
from /usr/include/google/protobuf/map.h:35,
from /usr/include/google/protobuf/generated_message_tctable_impl.h:23,
from /home/../eternalterminal/src/EternalTerminal-et-v6.2.9/build/ET.pb.cc:11:
/usr/include/c++/15.1.1/ciso646:46:4: warning: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Wcpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
The relevant lines in hash.h are:
// For feature testing and determining which headers can be included.
#if ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L
#include <version>
#else
#include <ciso646>
#endif
Maybe the package needs rebuild with gcc 15 or some config change?
Additional info:
- package version(s): abseil-cpp 20250127.1-1, gcc 15.1.1+r7+gf36ec88aa85a-1
- config and/or log files:
- link to upstream bug report, if any:
UPDATE: In fact this is not the error that caused the build failure, this is only a deprecation warning. Maybe still something to look into?
Edited by Henri Osmankäämi