Port Bug Report: PostgreSQL v6.4 does not compile - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: PostgreSQL v6.4 does not compile
Date
Msg-id 98319d7116133e3e2c268318094f10fd
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Tomek Gryszkiewicz
Your email address    : grych@tgr.com.pl

Category        : install: compile
Severity        : non-critical

Summary: PostgreSQL v6.4 does not compile

System Configuration
- --------------------
  Operating System   : Linux 2.0.36 ELF

  PostgreSQL version : 6.4

  Compiler used      : gcc 2.8.1

Hardware:
- ---------
Pentium, 128M

Versions of other tools:
- ------------------------
gmake 3.76.1, flex 2.5.4

- --------------------------------------------------------------------------

Problem Description:
- --------------------
When compiling src/backend/utils/adt/time.c and float.c conts INT_MIN and INT_MAX are not defined. Compiler end with
error.

- --------------------------------------------------------------------------

Test Case:
- ----------


- --------------------------------------------------------------------------

Solution:
- ---------
Add line:
#include <limits.h>

to the both of files: date.c and float.c

- --------------------------------------------------------------------------

pgsql-ports by date:

Previous
From: Ralf_Meister@comcity-online.de (Ralf Meister)
Date:
Subject: PostgreSQL on SunOS 4.1.2
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: update