bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27716] build failure for host msdosdjgpp. error: 'PATH_MAX


From: euloanty at live dot com
Subject: [Bug binutils/27716] build failure for host msdosdjgpp. error: 'PATH_MAX' undeclared (first use in this function) 55 | #define GUESSPATHLEN (MAXPATHLEN + 1)
Date: Sat, 10 Apr 2021 03:28:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27716

--- Comment #2 from cqwrteur <euloanty at live dot com> ---
In file included from ../../../binutils-gdb/binutils/sysdep.h:133,
                 from ../../../binutils-gdb/binutils/objdump.c:51:
../../../binutils-gdb/binutils/objdump.c: In function 'show_line':
../../../binutils-gdb/binutils/sysdep.h:137:21: error: 'PATH_MAX' undeclared
(first use in this function)
  137 | #   define PATH_MAX MAXPATHLEN
      |                     ^~~~~~~~~~
../../../binutils-gdb/binutils/objdump.c:1742:39: note: in expansion of macro
'PATH_MAX'
 1742 |       path = xmalloc (prefix_length + PATH_MAX + 1);
      |                                       ^~~~~~~~
../../../binutils-gdb/binutils/sysdep.h:137:21: note: each undeclared
identifier is reported only once for each function it appears in
  137 | #   define PATH_MAX MAXPATHLEN
      |                     ^~~~~~~~~~
../../../binutils-gdb/binutils/objdump.c:1742:39: note: in expansion of macro
'PATH_MAX'
 1742 |       path = xmalloc (prefix_length + PATH_MAX + 1);
      |                                       ^~~~~~~~

It looks like PATH_MAX just does not exist on DJGPP

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]