[Bug fortran/23065] New: MAXPATHLEN usage in fortran/module.c
schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de
gcc-bugzilla@gcc.gnu.org
Mon Jul 25 20:41:00 GMT 2005
Please do not use MAXPATHLEN, it is a arbitrary limit, and is not
defined on GNU. Currently this makes building gcc-4.0 fail on GNU since
fortran/module.c assumes that MAXPATHLEN is defined. Please do not use these
kind of limits in GNU programs.
Not having MAXPATHLEN is perfectly compliant with POSIX, same goes for
MAXHOSTNAMELEN, PATH_MAX etc.
--
Summary: MAXPATHLEN usage in fortran/module.c
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project
dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-pc-gnu
GCC host triplet: i386-pc-gnu
GCC target triplet: i386-pc-gnu
OtherBugsDependingO 21824
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065
More information about the Gcc-bugs
mailing list