I have some doubts: I am using mingw-w64 compiler to compile bash in msys2 environment. It may not be possible. But I wanted to know something else. I got a warning:
""""./include/filecntl.h:33:33: warning: implicit declaration of function 'fcntl'; did you mean 'fcvt'? [-Wimplicit-function-declaration]"""" Is this a msys2 issue or mingw-w64 issue or bash issue (some extra file has to be included to compile on windows) If it is saying implicit declaration, then it probably means that it did not find header file which declares fcntl. Please let me know if I am wrong or right. Also, please let me know how to fix this warning. Regards, Amit On Sat, Dec 7, 2019 at 8:26 PM Biswapriyo Nath <[email protected]> wrote: > > In msys2, it may not possible to build bash directly cloned from > upstream repository. msys2 adds some patch upon upstream repository. > You can find the msys2 bash here[1]. I have asked msys2 developers to > add bash 5.0 in gitter discussion[2]. > > > [1]: https://github.com/msys2/MSYS2-packages/tree/master/bash > [2]:https://gitter.im/msys2/msys2 > > > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
