bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if pat


From: tromey at sourceware dot org
Subject: [Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.
Date: Mon, 28 Feb 2022 13:36:14 +0000

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #42 from Tom Tromey <tromey at sourceware dot org> ---
This patch causes a build failure for me:

  CC       bfdio.lo
../../binutils-gdb/bfd/bfdio.c: In function '_bfd_real_fopen':
../../binutils-gdb/bfd/bfdio.c:129:60: error: 'partPathOrig' undeclared (first
use in this function); did you mean 'partPathWSize'?
  129 |    size_t partPathWSize = MultiByteToWideChar (CP_UTF8, 0,
partPathOrig, -1, NULL, 0);
      |                                                            ^~~~~~~~~~~~
      |                                                           
partPathWSize
../../binutils-gdb/bfd/bfdio.c:129:60: note: each undeclared identifier is
reported only once for each function it appears in
../../binutils-gdb/bfd/bfdio.c:157:36: error: 'mdesW' undeclared (first use in
this function); did you mean 'modesW'?
  157 |    FILE* file = _wfopen (fullPath, mdesW);
      |                                    ^~~~~
      |                                    modesW

-- 
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]