Re: Windows, gettext/libintl, pg_sprintf and friends
От | Bruce Momjian |
---|---|
Тема | Re: Windows, gettext/libintl, pg_sprintf and friends |
Дата | |
Msg-id | 200503171934.j2HJYIx18359@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Windows, gettext/libintl, pg_sprintf and friends (Andrew Dunstan <andrew@dunslane.net>) |
Список | pgsql-hackers |
Andrew Dunstan wrote: > > First the good news. After several false tries I managed to get gettext > and friends installed on MinGW so that I could get past configure when I > set "--enable-nls". I did this by installing (in this order) the > following packages from > http://sourceforge.net/project/showfiles.php?group_id=23617 in c:\MinGW : > > libintl-0.11.5-2-bin.zip > libiconv-1.8-1-lib.zip > libiconv-1.8-1-bin.zip > gettext-0.14.1-bin.zip > gettext-0.14.1-lib.zip > gettext-0.14.1-dep.zip > > That's significan't progress - I have had nls turned off up to now. > > Now the bad news: I get huge numbers of warnings about redefinitions > etc, that look like this: > > ../../../../src/include/port.h:135:1: warning: "printf" redefined > In file included from ../../../../src/include/c.h:97, > from ../../../../src/include/postgres_fe.h:21, > from interval.c:1: > c:/mingw/include/libintl.h:303:1: warning: this is the location of the previous definition Ah, Nicolai Tufar complained about the same problem earlier this week. My only guess is that the #define for snprintf is also affecting the include files, but I am unsure. My MinGW laptop is out for service but I should have it back tomorrow. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: