Hello, I want point out that I suggested to remove a few SUBLANG_* constants
from winnt.h, which are not found in recent Microsoft headers.
I wrote:
> However, mingw-w64's winnt.h defines aliases which are not found in MSVC
> headers:
>
> 1. SUBLANG_ENGLISH_IRELAND; same as SUBLANG_ENGLISH_EIRE
> 2. SUBLANG_HAUSA_NIGERIA; same as SUBLANG_HAUSA_NIGERIA_LATIN
> 3. SUBLANG_LAO_LAO_PDR; same as SUBLANG_LAO_LAO
> 4. SUBLANG_LITHUANIAN_LITHUANIA; same as SUBLANG_LITHUANIAN
> 5. SUBLANG_PORTUGUESE_PORTUGAL; same as SUBLANG_PORTUGUESE
> 6. SUBLANG_SWEDISH_SWEDEN; same as SUBLANG_SWEDISH
> 7. SUBLANG_SYRIAC; same as SUBLANG_SYRIAC_SYRIA
>
> Cases 4, 5 and 6 are guarded with `WINVER >= 0x0600`. Since the above 7
> constants are missing from recent MSVC headers, I propose that we remove them.
>
> There are two more constants which are not found in MSVC headers:
>
> 1. SUBLANG_ROMANIAN_MOLDOVA; commented out with value 0x01
> 2. SUBLANG_TIBETAN_BHUTAN; has value 0x02
>
> As for the first one, there is actually `LCID` locale for "ro-MD", but it has
> sublanguage ID 0x02.
>
> As for the second one, I mentioned above that `LANG_TIBETAN` with sublanguage
> ID 0x02 does not create valid `LCID` locale. However, with sublanguage ID
> 0x03, it creates `LCID` locale for "dz-BT" ("Dzongkha_Bhutan"). The country
> name matches the constant...
>
> In both cases, it seems to me like the author just got confused in all this
> mess. Similar to 7 constants above, I propose we simply remove these 2
> constants from winnt.h.
- Kirill Makurin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public