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 libstdc++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring



------- Comment #3 from paolo dot carlini at oracle dot com  2008-09-15 17:34 -------
Well, in principle the automatic configure-time check could define a
_GLIBCXX_HAVE_CONFORMING_VSWPRINTF, checking the parameters too, and then
os_defines.h could define a _GLIBCXX_HAVE_REPLACEMENT_VSWPRINTF. Then,
include/*/cwchar could guard the import with something like:

#if defined(_GLIBCXX_HAVE_CONFORMING_VSWPRINTF) ||
!defined(_GLIBCXX_HAVE_REPLACEMENT_VSWPRINTF)
... import
#endif

Anyway, if you can do and test somehow the mingw specific bits in os_defines.h,
I can do the rest.


-- 


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


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