ClickHouse / ClickHouse/clickhouse-cpp

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

オープン
#421 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
C
スター
382
フォーク
209
平均マージ
3時間 58分
マージ済み PR(30日)
12

説明

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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。