[Bug 287706] devel/cpprestsdk: broken on llvm 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Jul 2025 12:23:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287706

--- Comment #4 from Jan-Espen Oversand <sigsegv@radiotube.org> ---
Created attachment 262104
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262104&action=edit
Patch to fix building on llvm 20 (FreeBSD 13.5, 14.3 and current)

Finally I've been running this through poudriere on 13.5 and 14.3 and this
should fix building cpprestsdk on llvm 20. Cpprestsdk is using a lot of
unsigned types for C++ streams, which apparently is fine with MSVC/win32, with
gcc at least up until some point, but does not work at all with the latest
llvm-versions. I've put some effort into not going for anything that pollutes
the std namespace with anything, which I don't think is ok at all with a
library.

-- 
You are receiving this mail because:
You are the assignee for the bug.