thakis added a comment. I just ran into this and I'm a bit confused about the discussion here. This snippet (in a .c file)
#include <assert.h> static_assert(4 == 4 , ""); builds in all compilers except clang-cl. How does not supporting this make sense? Instead of this patch we could have an assert.h wrapper in lib/Headers that defines static_assert to _Static_assert in ms mode for C files, and I suppose that's a cleaner fix. But I hope it's not controversial that we should try and support standard C programs? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D17444/new/ https://reviews.llvm.org/D17444 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits