[Bug c/15082] New: Minor compilation problem on Solaris-2.8
duz at sol-3 dot de
gcc-bugzilla@gcc.gnu.org
Thu Apr 22 23:22:00 GMT 2004
Actually, I'm building a cross compiler to target Solaris-2.8.
As this drags in the Solaris include files, I figure this error
might also happen when compiling on Solaris-2.8.
Anyway, the fix is simply to add line
#include <limits.h> /* for PATH_MAX */
to
gcc-3.4.0/gcc/config/sparc/gmon-sol2.c
/pub/unpacked/gcc-3.4.0/gcc/config/sparc/gmon-sol2.c:182: error: `PATH_MAX' unde
clared (first use in this function)
--
Summary: Minor compilation problem on Solaris-2.8
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: duz at sol-3 dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15082
More information about the Gcc-bugs
mailing list