google / bloaty

Bloaty: a size profiler for binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling under C++17 produces hundreds of warnings

patrick-dojofive opened this issue · comments

Example compile command

"/Library/Developer/CommandLineTools/usr/bin/c++ -DUSE_RE2 -D_LIBCXXABI_FUNC_VIS=\"\" -I/<path/to/project>ThirdParty/bloaty/bloaty-src/third_party/re2 -I/<path/to/project>ThirdParty/bloaty/bloaty-src/third_party/capstone/include -I/<path/to/project>ThirdParty/bloaty/bloaty-src/. -I/<path/to/project>ThirdParty/bloaty/bloaty-src/src -I/<path/to/project>ThirdParty/bloaty/bloaty-src/third_party/abseil-cpp -I/<path/to/project>ThirdParty/bloaty/bloaty-build/src -isystem /<path/to/project>ThirdParty/bloaty/bloaty-src/third_party/protobuf/src -isystem /<path/to/project>ThirdParty/bloaty/bloaty-src/third_party/zlib  -fdiagnostics-color=always -Os -DNDEBUG -std=gnu++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -o CMakeFiles/libbloaty.dir/src/bloaty.cc.o -c /<path/to/project>ThirdParty/bloaty/bloaty-src/src/bloaty.cc"

Ultimately, we're trying to integrate this as part of a C++23 project and running bloaty automatically as part of every build.