Re: Windows question: when is LC_MESSAGES defined?
От | Thomas Munro |
---|---|
Тема | Re: Windows question: when is LC_MESSAGES defined? |
Дата | |
Msg-id | CA+hUKGKXWG5_cnYGcu=fh+=zdZXTKNbi0fp6r2XDvhgz4Cqh0A@mail.gmail.com обсуждение исходный текст |
Ответ на | Windows question: when is LC_MESSAGES defined? (Jeff Davis <pgsql@j-davis.com>) |
Ответы |
Re: Windows question: when is LC_MESSAGES defined?
|
Список | pgsql-hackers |
On Thu, Jul 10, 2025 at 5:32 AM Jeff Davis <pgsql@j-davis.com> wrote: > I was trying to exercise the function IsoLocaleName(), which is > surrounded by: > > #if defined(WIN32) && defined(LC_MESSAGES) > > but, at least in CI, that combination never seems to be true, which > surprised me. What platforms exercise this code path? .cirrus.tasks.yml says: # disable -Dnls as the number of files it creates cause a noticable slowdown... configure_script: | %BASH% -c "meson setup -Ddebug=true -Doptimization=g -Dcassert=true -Dinjection_points=true -Db_pch=true -Dnls=disabled -DTAR=%TAR% build" If you turn that on then the next problem to solve is: [03:28:24.318] Program msgfmt found: NO It gets past that and enables NLS and compiles that code in the optional MinGW build (assuming you enable it in meson).
В списке pgsql-hackers по дате отправления: