gcc/libstdc++-v3/config/os
Paolo Carlini 83b83ae97a re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring)
2008-10-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/37522
	* config/os/mingw32/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSWPRINTF
	* include/bits/basic_string.h: Guard string conversions with 
	!defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF) too.
	* testsuite/lib/libstdc++.exp (check_v3_target_string_conversions):
	New.
	* testsuite/lib/dg-options.exp (dg-require-string-conversions): New.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
	Use the latter.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/
	stoull.cc: Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
	Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/
	to_string.cc: Likewise.
	* testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
	Likewise.

From-SVN: r141382
2008-10-27 15:01:28 +00:00
..
aix re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47) 2008-01-26 11:28:03 -05:00
bsd localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
djgpp localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
generic error_constants.h (enum errc): Remove no_posix_equivalent. 2008-10-24 10:41:42 +00:00
gnu-linux arm-eabi-extra.ver: New file. 2008-07-21 19:21:45 +00:00
hpux os_defines.h: Use _GLIBCXX_BEGIN_NAMESPACE, _GLIBCXX_BEGIN_EXTERN_C, etc. 2008-04-23 23:28:45 +00:00
irix localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
mingw32 re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring) 2008-10-27 15:01:28 +00:00
newlib localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
qnx/qnx6.1 localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
solaris/solaris2.7 MAINTAINERS (mt port): Remove. 2008-06-07 19:00:15 +01:00
tpf pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
uclibc localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
vxworks c++config: Consistent macro guards for config includes. 2007-02-02 14:49:52 +00:00