Attached a tiny patch to glob.h which remedies a function prototype
definition error thrown upon compilation.
On one of cygwin's user lists I was deferred to this one here. I bumped into
that issue when compiling with cygwin's i686-pc-mingw32. I am hoping that
this is the correct list to raise this issue.
Thanks,
J.
---
C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/nppBackup/glob.h.2017
-06-25_142140.bak Tue Jul 16 00:34:26 2013
+++ C:/cygwin32/usr/i686-pc-mingw32/sys-root/mingw/include/glob.h Sun Jun 25
14:21:40 2017
@@ -142,7 +142,8 @@
#define GLOB_INLINE static __inline__ __attribute__((__always_inline__))
GLOB_INLINE int glob
-( const char *__pattern, int __flags, int (*__errfunc)(), glob_t *__data )
+( const char *__pattern, int __flags, int (*__errfunc) (const char *, int),
glob_t *__data )
{ return __mingw_glob( __pattern, __flags, __errfunc, __data ); }
GLOB_INLINE void globfree( glob_t *__data )
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public