Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-26 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 24.04.2016 14:55, LRN wrote: > On 24.04.2016 13:47, lh_mouse wrote: >> On 2016-04-24 18:36, LRN wrote: >>> On 24.04.2016 12:40, lh_mouse wrote: On 2016-04-23 03:38, LRN wrote: > On 22.04.2016 20:24, LRN wrote: >> This matches the beha

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 24.04.2016 13:47, lh_mouse wrote: > On 2016-04-24 18:36, LRN wrote: >> On 24.04.2016 12:40, lh_mouse wrote: >>> On 2016-04-23 03:38, LRN wrote: On 22.04.2016 20:24, LRN wrote: > This matches the behaviour of MSVC better in cases when ther

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread lh_mouse
instead of 'int' for semantical correctness reasons. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN 发送日期:2016-04-24 18:36 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] [PAT

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 24.04.2016 12:40, lh_mouse wrote: > On 2016-04-23 03:38, LRN wrote: >> On 22.04.2016 20:24, LRN wrote: >>> This matches the behaviour of MSVC better in cases when there is a >>> mix of values < 0 and values > 0x7FFF in the same enum, which, >>

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-24 Thread lh_mouse
e a 64-bit integer type. -- Best regards, lh_mouse 2016-04-24 - 发件人:LRN 发送日期:2016-04-23 03:38 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] [PATCH] Cast certain en

Re: [Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-22 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 22.04.2016 20:24, LRN wrote: > This matches the behaviour of MSVC better in cases when there is a mix > of values < 0 and values > 0x7FFF in the same enum, which, without > this change, prompts GCC to increase enum size to 8 bytes. > > Fixes

[Mingw-w64-public] [PATCH] Cast certain enums to int

2016-04-22 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This matches the behaviour of MSVC better in cases when there is a mix of values < 0 and values > 0x7FFF in the same enum, which, without this change, prompts GCC to increase enum size to 8 bytes. Fixes bug #456 patch is attached - -- O< asci