[llvm] fix vs2022 windows compile error: The C++ Standard Library forbids macroizing the keyword "bool" (PR #218842)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 03:15:42 PDT 2026


paperplanet wrote:

@DamonFool @maleadt 
Can you help with reviewing this PR? I am not sure who to reach out for, the code owner file seems has no indication for the owner.
I think the bool macro defined in stdbool.h caused visual studio report error C4005 while compiling this file. (#error: The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.")

https://github.com/llvm/llvm-project/pull/218842


More information about the llvm-commits mailing list