krytarowski added a comment. This does not fix the potential problem on NetBSD. We define `__VA_LIST_DECLARED` (with extra `_` on the beginning).
The proper solution looks to go for: #if __STDC_HOSTED__ && __has_include_next(<stdarg.h>) Repository: rC Clang https://reviews.llvm.org/D44604 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits