Minor problem in compiling Postgres 6.5.2 - Mailing list pgsql-bugs

From Marc-Oliver Westerburg
Subject Minor problem in compiling Postgres 6.5.2
Date
Msg-id 37FC022D.659C487D@post.rwth-aachen.de
Whole thread Raw
List 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 by date:

Previous
From: "Justin Long"
Date:
Subject: BUG: in SELECT DISTINCT
Next
From: Daniel Péder
Date:
Subject: Pg.so bug