URL:
  <https://savannah.gnu.org/bugs/?57152>

                 Summary: Fix WINDOWS32 gcc build
                 Project: make
            Submitted by: bwijen
            Submitted on: Sat 02 Nov 2019 09:31:59 AM UTC
                Severity: 3 - Normal
              Item Group: Build/Install
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: SCM
        Operating System: MS Windows
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Running `bootstrap.bat` and `build_w32.bat gcc` from tag `4.2.92` results in:
src/dir.c: In function 'dir_contents_file_exists_p':
src/dir.c:736:23: error: 'struct dirent' has no member named 'd_type'
  736 |           df->type = d->d_type;
      |                       ^~

The attached patch is:
* Fix for this issue

Tested with gcc 9.2.0 (mingw-w64-x86_64-)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 02 Nov 2019 09:31:59 AM UTC  Name:
0001-Fix-WINDOWS32-gcc-build.patch  Size: 785B   By: bwijen

<http://savannah.gnu.org/bugs/download.php?file_id=47779>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57152>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to