build: support clang + libc++ (BZ32523)
Replace libstdc++-only <ext/stdio_filebuf.h> / __gnu_cxx::stdio_filebuf
with a small fd_filebuf streambuf helper, and drop the now-vestigial
"using namespace __gnu_cxx;" lines. Also add a missing <iterator>
include and silence a [[nodiscard]] stol() result that only trips
-Werror under libc++.
With --without-dyninst (Fedora's dyninst is libstdc++-only), a
clang++ -stdlib=libc++ build now completes.
Co-authored-by: OpenCode agent <noreply@opencode.ai>
19 files changed