Re: [Mingw-w64-public] [Patch] Make build environment consistent

2016-10-17 Thread David Wohlferd
On 10/17/2016 2:34 AM, JonY wrote:
> On 10/17/2016 10:17, David Wohlferd wrote:
>> Is that the same as "approved for push?"  Or am I still waiting to
>> hear from someone?  I'm told you are the 'makefile' approver.
>>
> Yes, you can go ahead and push.

Thank you.  Pushed.

dw

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Make GCC emit ASM instructions in 'gcc/except.c' for i686 MinGW targets ?

2016-10-17 Thread lhmouse
> I'd probably create a new exception handling model and conditionalize 
> whatever code you need based on that. 

That would require copy-n-paste of tons of code...
All this remains contingent on Microsoft's generosity because
they don't provide APIs for SEH on x86, unlike on x64.
So I have to reuse stack unwinding code from SJLJ at the moment.

> Emission of code for that new 
> exception model would likely require some amount of target specific code 
> called via target hooks.

Hooks... Er, are you talking about those global pointer-to-functions?
There are a lot, indeed.

--   
Best regards,
lh_mouse
2016-10-17



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-10-17 Thread Martell Malone
Jon_y beat me to it. :)
I had modified it to fit within a reasonable line character limit with this
adjustment.

Author: mati865 
Date:   Mon Oct 17 12:08:24 2016 +

fix uchar.h for Clang

Clang defines itself as GCC 4.2.1 and triggers check for GCC lower than
4.4.0.
This patch adds additional !defined(__clang__) check

diff --git a/mingw-w64-headers/crt/uchar.h b/mingw-w64-headers/crt/uchar.h
index 475ad87..a2c65ab 100644
--- a/mingw-w64-headers/crt/uchar.h
+++ b/mingw-w64-headers/crt/uchar.h
@@ -29,8 +29,8 @@

 /* Remember that g++ >= 4.4 defines these types only in c++0x mode */
 #if !(defined(__cplusplus) && defined(__GXX_EXPERIMENTAL_CXX0X__)) ||  \
-!defined(__GNUC__) ||  \
-(__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))
+!defined(__GNUC__) ||  (!defined(__clang__) && \
+(__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)))
 typedef uint_least16_t char16_t;
 typedef uint_least32_t char32_t;
 #endif
Regardless it is in master now.


On Mon, Oct 17, 2016 at 4:24 AM, Mateusz  wrote:

> Can some commit it?
>
> śr., 28 wrz 2016, 16:29 użytkownik JonY 
> napisał:
>
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> >
> > On 9/28/2016 18:02, Mateusz wrote:
> > > Looks attachment didn't work. Here is the patch:
> > >
> > >> From e98ec7a116256108831f035eb0a7f0f2fdf049e9 Mon Sep 17 00:00:00
> > >> 2001
> > > From: mati865  Date: Wed, 28 Sep 2016 11:45:40
> > > +0200 Subject: [PATCH] fix uchar.h for Clang
> > >
> > > Clang defines itself as GCC 4.2.1 and triggers check for GCC lower
> > > than 4.4.0. This patch adds additional !defined(__clang__) check
> > > --- mingw-w64-headers/crt/uchar.h | 2 +- 1 file changed, 1
> > > insertion(+), 1 deletion(-)
> > >
> > > diff --git a/mingw-w64-headers/crt/uchar.h
> > > b/mingw-w64-headers/crt/uchar.h index 475ad87..ab8a26d 100644 ---
> > > a/mingw-w64-headers/crt/uchar.h +++
> > > b/mingw-w64-headers/crt/uchar.h @@ -30,7 +30,7 @@ /* Remember that
> > > g++ >= 4.4 defines these types only in c++0x mode */ #if
> > > !(defined(__cplusplus) && defined(__GXX_EXPERIMENTAL_CXX0X__)) ||
> > > \ !defined(__GNUC__) ||\ -(__GNUC__ < 4
> > > || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)) +(!defined(__clang__)
> > > && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))) typedef
> > > uint_least16_t char16_t; typedef uint_least32_t char32_t; #endif
> > > -- 2.9.1
> > >
> >
> > Patch looks OK.
> >
> >
> > -BEGIN PGP SIGNATURE-
> >
> > iF4EAREIAAYFAlfr01kACgkQk721PNTrx0D/oAD7BQAqa+mfswOGE5VF+tqOBGhA
> > fwdzqx9Ame+pT4PjC7sBAIUFQvSfIuffAkLVe6vUZVzzmae4JzzZ+CkyfUT/ZuTp
> > =j/Ue
> > -END PGP SIGNATURE-
> >
> > 
> --
> > ___
> > Mingw-w64-public mailing list
> > Mingw-w64-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-10-17 Thread Mateusz
Can some commit it?

śr., 28 wrz 2016, 16:29 użytkownik JonY 
napisał:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On 9/28/2016 18:02, Mateusz wrote:
> > Looks attachment didn't work. Here is the patch:
> >
> >> From e98ec7a116256108831f035eb0a7f0f2fdf049e9 Mon Sep 17 00:00:00
> >> 2001
> > From: mati865  Date: Wed, 28 Sep 2016 11:45:40
> > +0200 Subject: [PATCH] fix uchar.h for Clang
> >
> > Clang defines itself as GCC 4.2.1 and triggers check for GCC lower
> > than 4.4.0. This patch adds additional !defined(__clang__) check
> > --- mingw-w64-headers/crt/uchar.h | 2 +- 1 file changed, 1
> > insertion(+), 1 deletion(-)
> >
> > diff --git a/mingw-w64-headers/crt/uchar.h
> > b/mingw-w64-headers/crt/uchar.h index 475ad87..ab8a26d 100644 ---
> > a/mingw-w64-headers/crt/uchar.h +++
> > b/mingw-w64-headers/crt/uchar.h @@ -30,7 +30,7 @@ /* Remember that
> > g++ >= 4.4 defines these types only in c++0x mode */ #if
> > !(defined(__cplusplus) && defined(__GXX_EXPERIMENTAL_CXX0X__)) ||
> > \ !defined(__GNUC__) ||\ -(__GNUC__ < 4
> > || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)) +(!defined(__clang__)
> > && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))) typedef
> > uint_least16_t char16_t; typedef uint_least32_t char32_t; #endif
> > -- 2.9.1
> >
>
> Patch looks OK.
>
>
> -BEGIN PGP SIGNATURE-
>
> iF4EAREIAAYFAlfr01kACgkQk721PNTrx0D/oAD7BQAqa+mfswOGE5VF+tqOBGhA
> fwdzqx9Ame+pT4PjC7sBAIUFQvSfIuffAkLVe6vUZVzzmae4JzzZ+CkyfUT/ZuTp
> =j/Ue
> -END PGP SIGNATURE-
>
> --
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public