|
From: | euloanty at live dot com |
Subject: | [Bug binutils/32243] New: NAME_MAX does not exist on mingw-w64 without the define of _POSIX_ macro |
Date: | Sun, 06 Oct 2024 14:44:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32243 Bug ID: 32243 Summary: NAME_MAX does not exist on mingw-w64 without the define of _POSIX_ macro Product: binutils Version: 2.44 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: euloanty at live dot com Target Milestone: --- /home/csrg/toolchains_build/binutils-gdb/binutils/dlltool.c: In function 'main': /home/csrg/toolchains_build/binutils-gdb/binutils/dlltool.c:4039:65: error: 'NAME_MAX' undeclared (first use in this function) 4039 | if (input && strlen (input) + sizeof ("_snnnnn.o") - 1 <= NAME_MAX) | ^~~~~~~~ https://github.com/mirror/mingw-w64/blob/93f3505a758fe70e56678f00e753af3bc4f640bb/mingw-w64-headers/crt/limits.h#L108 Or you should just define 256 for windows -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |