google / glog

C++ implementation of the Google logging module
http://google.github.io/glog/
BSD 3-Clause "New" or "Revised" License
7.05k stars 2.06k forks source link

build failed with clang-19 #1113

Closed Patrick-ICT closed 3 months ago

Patrick-ICT commented 3 months ago

I am following the build instruction in Google Logging Library. The cmake command is cmake -DCMAKE_CXX_COMPILER=clang++-19 -S . -B build -G "Unix Makefiles" then the build command generated the following error: err Does anyone know how to fix it?

sergiud commented 3 months ago

Thanks for the report.

Are you suggesting that the issue is specific to clang 19 and does not occur with a different compiler?

I believe the problem is rather similar to #823 and is in fact unrelated to clang 19.

Patrick-ICT commented 3 months ago

Oh yes, you are right. Thank you~