bugGNU gettext - Bugs: bug #56133, compilation error of fnmatch on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56133: compilation error of fnmatch on Windows (MSYS2 mingw-w64)

Submitter:  Vincent Torri <vtorri>
Submitted:  Sun 14 Apr 2019 12:15:26 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sun 14 Apr 2019 02:01:14 PM UTC, comment #1: 

The INSTALL.windows file lists the supported environments for building mingw binaries. MSYS2 is not among these supported environments.

In the Cygwin environment, it works for me.

So, if you insist in wanting to use the MSYS2 environment, you'll have to investigate the issue by yourself. For me, the error message indicates that it is building the gnulib module 'fnmatch', after 'configure' has found out that fnmatch is not supported by mingw. While doing so, it uses a wrong fnmatch.h file.

Bruno Haible <haible>
Group administrator
Sun 14 Apr 2019 12:15:26 PM UTC, original submission:  


fnmatch_loop.c:49:41: error: 'FNM_EXTMATCH' undeclared (first use in this function); did you mean 'FNM_NOMATCH'?
           if (__builtin_expect (flags & FNM_EXTMATCH, 0) && *p == '(')
                                         ^~~~~~~~~~~~
                                         FNM_NOMATCH


Vincent Torri <vtorri>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by vtorri (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-14 haible StatusNone Works For Me
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code