[cfe-commits] [PATCH] Warn when non-POD types are passed into va_arg

Sebastian Redl sebastian.redl at getdesigned.at
Fri May 20 01:49:35 PDT 2011


On 20.05.2011, at 01:48, David Majnemer wrote:

> All sorts of weird things can happen if va_arg can spit out a non-POD type.
> 
> Unless I missed something, the attached patch should properly diagnose
> when this is detectable and give a warning in the non-pod-varargs
> group.

Simple and good. Do you have commit access?

Sebastian



More information about the cfe-commits mailing list