ClickHouse / ClickHouse/clickhouse-cpp

g++ 15.1.1 compile warning "<ciso646> is deprecated in C++17

Open
#421 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
C
Stars
382
Forks
209
Avg merge
3h 58m
Merged PRs (30d)
12

Description

Hi, I just updated my compiler to gcc version 15.1.1 20250425 (GCC).
When I compiled my project, I encountered
```
[build] FAILED: external/clickhouse-cpp/contrib/absl/absl/CMakeFiles/absl_int128.dir/numeric/int128.cc.o
[build] /usr/bin/g++ -Ixxx/external/clickhouse-cpp/contrib/absl -pthread -Wall -Wextra -Werror -Wno-deprecated-declarations -g -std=gnu++17 -MD -MT external/clickhouse-cpp/contrib/absl/absl/CMakeFiles/absl_int128.dir/numeric/int128.cc.o -MF external/clickhouse-cpp/contrib/absl/absl/CMakeFiles/absl_int128.dir/numeric/int128.cc.o.d -o external/clickhouse-cpp/contrib/absl/absl/CMakeFiles/absl_int128.dir/numeric/int128.cc.o -c /xxx/external/clickhouse-cpp/contrib/absl/absl/numeric/int128.cc
[build] In file included from /xxx/external/clickhouse-cpp/contrib/absl/absl/base/options.h:73,
[build] from /xxx/external/clickhouse-cpp/contrib/absl/absl/base/config.h:66,
[build] from /xxx/external/clickhouse-cpp/contrib/absl/absl/numeric/int128.h:33,
[build] from /xxx/external/clickhouse-cpp/contrib/absl/absl/numeric/int128.cc:15:
[build] /usr/include/c++/15.1.1/ciso646:46:4: error: #warning " is deprecated in C++17, use to detect implementation-specific macros" [-Werror=cpp]
[build] 46 | # warning " is deprecated in C++17, use to detect implementation-specific macros"
[build] |
...
```
Is it safe to ignore this warning?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.