Marat Radchenko
2014-10-08 18:00:53 UTC
This patch series fixes building on modern MinGW and MinGW-W64 (including x86_64).
*Compilation* tested on:
- MSVC
- msysGit environment (twice)
- Linux cross-toolchain i686-pc-mingw32
- Linux cross-toolchain i686-w64-mingw32
- Linux cross-toolchain x86_64-w64-mingw32
Also, this patchset is confirmed to pass msysgit testsuite.
Attention: in order to build on MinGW-W64, you need a version that has
https://sourceforge.net/p/mingw-w64/bugs/397 fixed. Otherwise, you'll get:
compat/poll/poll.c: In function 'poll':
compat/poll/poll.c:541:7: warning: implicit declaration of function 'MsgWaitForMultipleObjects'
compat/poll/poll.c:542:26: error 'QS_ALLINPUT' undeclared (first use in this function)
-------
Cosmetic changes since v4:
* Reworded 'MSVC: config.mak.uname: drop -D__USE_MINGW_ACCESS from CFLAGS'
(added note about MinGW section)
* Reworded 'MINGW: config.mak.uname: reorganize MinGW settings'
(now uses gender-neutral singular 'they')
* Reworded 'Fix pointer -> integer casts on IL32P64 systems'
(added references to Gnulib commits)
-------
Additional note:
todays git.git/master is broken on both MSVC and MinGW-W64 because of 7559a1be + 4e6d207c:
MSVC doesn't have sigset_t at all, MinGW-W64 has it in sys/types.h, but it is only
available with -D_POSIX. I hope this can be resolved separately as a regression for MSVC.
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
msysgit+***@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
*Compilation* tested on:
- MSVC
- msysGit environment (twice)
- Linux cross-toolchain i686-pc-mingw32
- Linux cross-toolchain i686-w64-mingw32
- Linux cross-toolchain x86_64-w64-mingw32
Also, this patchset is confirmed to pass msysgit testsuite.
Attention: in order to build on MinGW-W64, you need a version that has
https://sourceforge.net/p/mingw-w64/bugs/397 fixed. Otherwise, you'll get:
compat/poll/poll.c: In function 'poll':
compat/poll/poll.c:541:7: warning: implicit declaration of function 'MsgWaitForMultipleObjects'
compat/poll/poll.c:542:26: error 'QS_ALLINPUT' undeclared (first use in this function)
-------
Cosmetic changes since v4:
* Reworded 'MSVC: config.mak.uname: drop -D__USE_MINGW_ACCESS from CFLAGS'
(added note about MinGW section)
* Reworded 'MINGW: config.mak.uname: reorganize MinGW settings'
(now uses gender-neutral singular 'they')
* Reworded 'Fix pointer -> integer casts on IL32P64 systems'
(added references to Gnulib commits)
-------
Additional note:
todays git.git/master is broken on both MSVC and MinGW-W64 because of 7559a1be + 4e6d207c:
MSVC doesn't have sigset_t at all, MinGW-W64 has it in sys/types.h, but it is only
available with -D_POSIX. I hope this can be resolved separately as a regression for MSVC.
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
msysgit+***@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.