[Bug libstdc++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring

dannysmith at users dot sourceforge dot net gcc-bugzilla@gcc.gnu.org
Mon Sep 15 02:59:00 GMT 2008



------- Comment #1 from dannysmith at users dot sourceforge dot net  2008-09-15 02:57 -------

> 
> I guess the solution is to make libstdc++ use _vsnwprintf instead of vswprintf
> on *-mingw32.
> 

I think that is the most expedient solution.  Would an inline redirection  of
vswprintf to _vsnwprintf in config/os/mingw32/os_define.h (later, if it gets
fixed in mingw runtime  that could be made conditional on mingw version) work?

Danny


-- 


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



More information about the Gcc-bugs mailing list