https://sourceware.org/bugzilla/show_bug.cgi?id=27716
Bug ID: 27716
Summary: build failure for host msdosdjgpp. error: 'PATH_MAX'
undeclared (first use in this function) 55 |
#define GUESSPATHLEN (MAXPATHLEN + 1)
Product: binutils
Version: 2.37 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: euloanty at live dot com
Target Milestone: ---
build failure because PATH_MAX is undeclared? on DJGPP.
i586-msdosdjgpp-gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../../binutils-gdb/libiberty/../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE
../../../binutils-gdb/libiberty/make-relative-prefix.c -o
pic/make-relative-prefix.o; \
else true; fi
In file included from ../../../binutils-gdb/libiberty/getpwd.c:33:
../../../binutils-gdb/libiberty/getpwd.c: In function 'getpwd':
../../../binutils-gdb/libiberty/getpwd.c:55:23: error: 'PATH_MAX' undeclared
(first use in this function)
55 | #define GUESSPATHLEN (MAXPATHLEN + 1)
| ^~~~~~~~~~
../../../binutils-gdb/libiberty/getpwd.c:87:18: note: in expansion of macro
'GUESSPATHLEN'
87 | for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s
*= 2)
| ^~~~~~~~~~~~
../../../binutils-gdb/libiberty/getpwd.c:55:23: note: each undeclared
identifier is reported only once for each function it appears in
55 | #define GUESSPATHLEN (MAXPATHLEN + 1)
| ^~~~~~~~~~
../../../binutils-gdb/libiberty/getpwd.c:87:18: note: in expansion of macro
'GUESSPATHLEN'
87 | for (s = GUESSPATHLEN; !getcwd (p = XNEWVEC (char, s), s); s
*= 2)
| ^~~~~~~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.