[libc-commits] [PATCH] D80178: [libc] Fix accidental inclusion of system libc headers.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon May 18 22:13:01 PDT 2020
sivachandra added a comment.
Doesn't this trigger a "defining builtin macro" warning/error?
Does adding `-ffreestanding` to the compile step of the raw object file fix the problem you are seeing and also avoid tampering with `__STDC_HOSTED__` macro?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80178/new/
https://reviews.llvm.org/D80178
More information about the libc-commits
mailing list