Open
Description
#define dllimport
inside cpprest_compat.h breaks curl.h on Clang 14.
See minimized example here: godbolt
The issue was initially reported to LLVM.
The LLVM issue was closed. For the reason, see these comments: comment1 and comment2.
Metadata
Metadata
Assignees
Labels
No labels
Activity
barcharcraz commentedon Jun 27, 2022
Yeah I can see why they closed that one. This header is pretty horrible.
laveur commentedon Nov 8, 2022
FYI this project is now dead. You should move away from cpprest ASAP. See the readme file.
barcharcraz commentedon Nov 8, 2022
Indeed, we will fix any super critical bugs, but we highly, highly, highly recommend folks move to another library. We usually recommend libcurl.
[cpprestsdk] fix clang build on new zlib
[cpprestsdk] fix bad define in header for clang (#38659)
Update to latest version 2024-05-28 (#3)