Minor problem in compiling Postgres 6.5.2

Поиск
Список
Период
Сортировка
От Marc-Oliver Westerburg
Тема Minor problem in compiling Postgres 6.5.2
Дата
Msg-id 37FC022D.659C487D@post.rwth-aachen.de
обсуждение исходный текст
Список pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :Marc-Oliver Westerburg
Your email address    :marc.westerburg@post.rwth-aachen.de


System Configuration
---------------------
  Architecture (example: Intel Pentium)      :Intel Pentium 233 MMX

  Operating System (example: Linux 2.0.26 ELF)     :SuSE Linux 6.2 (kernel
2.2.10,
                         libc6, ELF)

  PostgreSQL version (example: PostgreSQL-6.5.2):   PostgreSQL-6.5.2

  Compiler used (example:  gcc 2.8.0)        :gcc-2.95.1


Please enter a FULL description of your problem:
------------------------------------------------
When compiling src/backend/libpq/hba.c gcc exits with a
parse error in line 520 before remote_port.




Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
just configure and make as described in INSTALL




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
gcc doesn't like the ushort. I didn't check any header files for a
definition of ushort
but a simple "#define ushort unsigned short" at the beginning of the
file (src/backend/libpq/hba.c)
seems to solve the problem.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Justin Long"
Дата:
Сообщение: BUG: in SELECT DISTINCT
Следующее
От: Daniel Péder
Дата:
Сообщение: Pg.so bug