[PATCH] mingw problems with intl/localename.c
Some of the SUBLANG values were defined wrong and gave me duplicate case value errors:
localename.c: In function `_nl_locale_name_default':
localename.c:1145: error: duplicate case value
localename.c:1144: error: previously used here
localename.c:1359: error: duplicate case value
localename.c:1358: error: previously used here
localename.c:1367: error: duplicate case value
localename.c:1366: error: previously used here
The first pair of values is SUBLANG_BENGALI_INDIA and SUBLANG_BENGALI_BANGLADESH. I found this patch which fixed the problem, and apparently it was also fixed in gettext between version 0.16.1 and 0.17, so perhaps updating to gettext 0.17 could also fix the problem.