This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23065] New: MAXPATHLEN usage in fortran/module.c
- From: "schwinge-bugzilla-gcc dot gnu dot org at nic-nac-project dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 20:34:26 -0000
- Subject: [Bug fortran/23065] New: MAXPATHLEN usage in fortran/module.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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