This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20916


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]