Patchwork Remove _GLIBCXX_HAVE_BROKEN_VSWPRINTF from

login
register
mail settings
Submitter JonY
Date Oct. 28, 2012, 10:56 p.m.
Message ID <508DB835.1070001@users.sourceforge.net>
Download mbox | patch
Permalink /patch/194755/
State New
Headers show

Comments

JonY - Oct. 28, 2012, 10:56 p.m.
Hi,

Workaround now exists for trunk mingw-w64 headers.
Kai approved over IRC, so anybody with commit rights please push.

ChangeLog
2012-10-29  Jonathan Yong  <jon_y@users.sourceforge.net>

	* config/os/mingw32-w64/os_defines.h: Remove _GLIBCXX_HAVE_BROKEN_VSWPRINTF
	as no longer required.
JonY - Oct. 29, 2012, 1:05 p.m.
Fix the mail subject line.

On 10/29/2012 06:56, JonY wrote:
> Hi,
> 
> Workaround now exists for trunk mingw-w64 headers.
> Kai approved over IRC, so anybody with commit rights please push.
> 
> ChangeLog
> 2012-10-29  Jonathan Yong  <jon_y@users.sourceforge.net>
> 
> 	* config/os/mingw32-w64/os_defines.h: Remove _GLIBCXX_HAVE_BROKEN_VSWPRINTF
> 	as no longer required.
> 
> 
> 
> Index: libstdc++-v3/config/os/mingw32-w64/os_defines.h
> ===================================================================
> --- libstdc++-v3/config/os/mingw32-w64/os_defines.h     (revision 192802)
> +++ libstdc++-v3/config/os/mingw32-w64/os_defines.h     (working copy)
> @@ -63,8 +63,9 @@
>  // See libstdc++/20806.
>  #define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1
> 
> -// See  libstdc++/37522.
> -#define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
> +// See  libstdc++/37522. mingw-w64 stdio redirect for C++
> +// #define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
> +// Workaround added for mingw-w64 trunk headers r5437
> 
>  // See libstdc++/43738
>  // On native windows targets there is no ioctl function. And the existing
>
JonY - Oct. 30, 2012, 9:56 a.m.
On 10/29/2012 21:05, JonY wrote:
>> ChangeLog
>> 2012-10-29  Jonathan Yong  <jon_y@users.sourceforge.net>
>>
>> 	* config/os/mingw32-w64/os_defines.h: Remove _GLIBCXX_HAVE_BROKEN_VSWPRINTF
>> 	as no longer required.
>>
>>
>>
>> Index: libstdc++-v3/config/os/mingw32-w64/os_defines.h
>> ===================================================================
>> --- libstdc++-v3/config/os/mingw32-w64/os_defines.h     (revision 192802)
>> +++ libstdc++-v3/config/os/mingw32-w64/os_defines.h     (working copy)
>> @@ -63,8 +63,9 @@
>>  // See libstdc++/20806.
>>  #define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1
>>
>> -// See  libstdc++/37522.
>> -#define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
>> +// See  libstdc++/37522. mingw-w64 stdio redirect for C++
>> +// #define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
>> +// Workaround added for mingw-w64 trunk headers r5437
>>
>>  // See libstdc++/43738
>>  // On native windows targets there is no ioctl function. And the existing
>>
> 
> 

Hi,

Can I have this in before 4.8 branches? Maintainer is away for the few
weeks, but OK'ed it on IRC.

Patch

Index: libstdc++-v3/config/os/mingw32-w64/os_defines.h
===================================================================
--- libstdc++-v3/config/os/mingw32-w64/os_defines.h     (revision 192802)
+++ libstdc++-v3/config/os/mingw32-w64/os_defines.h     (working copy)
@@ -63,8 +63,9 @@ 
 // See libstdc++/20806.
 #define _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM 1

-// See  libstdc++/37522.
-#define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
+// See  libstdc++/37522. mingw-w64 stdio redirect for C++
+// #define _GLIBCXX_HAVE_BROKEN_VSWPRINTF 1
+// Workaround added for mingw-w64 trunk headers r5437

 // See libstdc++/43738
 // On native windows targets there is no ioctl function. And the existing