Backport #5495
closedSIZE_MAX undefined while building 1.9.2 on HP-UX 11.00/PA, 11.11/PA, 11.23/PA
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
Updated by twwlogin (The Written Word Inc) about 13 years ago
Updated by naruse (Yui NARUSE) about 13 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) about 13 years ago
- Status changed from Open to Assigned
- Assignee set to yugui (Yuki Sonoda)
Backport r33532
Updated by naruse (Yui NARUSE) over 8 years ago
- Status changed from Assigned to Rejected