[Bug c++/20916] va_list passed to a function gets messed up by a call to another function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 9 14:14:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-09 14:14 -------
(In reply to comment #5)
> You cannot use a va_list any more after passing it to a consumer like vprintf. 

Just a note to fix your code, use va_copy.



More information about the Gcc-bugs mailing list