Hi, it's undefined behavior to call va_start() with a reference parameter. It happens to work fine with clang, but blows up with other compilers (e.g. msvs), so this patch adds a warning for it. It also moves 2 other existing warnings behind the new -Wvarargs flag.
Ok? Nico
clang-vastart-ref.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
