Project

General

Profile

Actions

Backport #5495

closed

SIZE_MAX undefined while building 1.9.2 on HP-UX 11.00/PA, 11.11/PA, 11.23/PA

Added by twwlogin (The Written Word Inc) over 12 years ago. Updated almost 8 years ago.

Status:
Rejected
[ruby-core:40477]

Description

Building 1.9.2 with latest svn revision at 33531 produces a build error on HP-UX 11.00/PA, 11.11/PA, 11.23/PA because SIZE_MAX is undefined:
cc -g -I. -I.ext/include/hppa2.0w-hpux11.23 -I./include -I. -DRUBY_EXPORT -I/opt/fsw/ncurses57/include -I/opt/fsw/ncurses57/include/ncurses -o time.o -c time.c
cpp: "/usr/include/math.h", line 182: warning 2001: Redefinition of macro INFINITY.
cpp: "/usr/include/math.h", line 183: warning 2001: Redefinition of macro NAN.
cc -g -I. -I.ext/include/hppa2.0w-hpux11.23 -I./include -I. -DRUBY_EXPORT -I/opt/fsw/ncurses57/include -I/opt/fsw/ncurses57/include/ncurses -o transcode.o -c transcode.c
cc: "transcode.c", line 1547: error 1588: "SIZE_MAX" undefined.
cc: "transcode.c", line 1547: error 1563: Expression in if must be scalar.
gmake: *** [transcode.o] Error 1


Files

patch (886 Bytes) patch #define SIZE_MAX on platforms where it is not available twwlogin (The Written Word Inc), 10/28/2011 01:39 PM

Related issues 1 (0 open1 closed)

Related to Backport192 - Backport #5489: Build failure on HP-UX 11.00/PA, 11.11/PA, 11.23/PAClosedyugui (Yuki Sonoda)10/27/2011Actions
Actions #2

Updated by naruse (Yui NARUSE) over 12 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport192
  • Category changed from build to build
  • Target version deleted (1.9.2)

Updated by naruse (Yui NARUSE) over 12 years ago

  • Status changed from Open to Assigned
  • Assignee set to yugui (Yuki Sonoda)

Backport r33532

Actions #4

Updated by naruse (Yui NARUSE) almost 8 years ago

  • Status changed from Assigned to Rejected
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0