Ticket #7895 (new defect)

Opened 3 years ago

Flint says SIZE_MAX is undeclared on Solaris 8

Reported by: drkirkby Owned by: drkirkby
Priority: minor Milestone: sage-5.10
Component: porting: Solaris Keywords:
Cc: goodwillhart@… Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

ning.o -c zn_poly/src/tuning.c
zn_poly/src/tuning.c:42: error: 'SIZE_MAX' undeclared here (not in a function)
make[2]: *** [tuning.o] Error 1
make[2]: Leaving directory `/export/home/drkirkby/sage-4.3/spkg/build/flint-1.5.0.p2/src'
Error building flint shared library.

real    0m7.207s
user    0m6.680s
sys     0m0.350s
sage: An error occurred while installing flint-1.5.0.p2

It is actually defined in the file

/usr/include/limits.h

at least on this Solaris 8 installation.

bash-2.03$ uname -a
SunOS solaris8 5.8 Generic_108528-11 sun4u sparc SUNW,Sun-Blade-1000
bash-2.03$ cat /etc/release
                       Solaris 8 10/01 s28s_u6wos_08a SPARC
           Copyright 2001 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 12 September 2001
Note: See TracTickets for help on using tickets.