gcc/libstdc++-v3/config/os/mingw32
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
..
ctype_base.h ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines. 2007-07-16 09:19:26 +00:00
ctype_inline.h localefwd.h: Consistent @file placement... 2006-12-05 23:24:07 +00:00
ctype_noninline.h ctype_base.h: Use the generic libstdc++ masks rather than MSVCRT defines. 2007-07-16 09:19:26 +00:00
error_constants.h error_constants.h (enum errc): Remove no_posix_equivalent. 2008-10-24 10:41:42 +00:00
os_defines.h re PR libstdc++/37522 (Incorrect vswprintf prototype breaks __to_xstring) 2008-10-27 15:01:28 +00:00