git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/5] Fix msvc build

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Jan 31, 2013, 18:26 UTC
Message-ID
<510AB766.4030806@ramsay1.demon.co.uk>

As I mentioned recently, while discussing a cygwin specific patch (see "Version 1.8.1 does not compile on Cygwin 1.7.14" thread), the MSVC build is broken for me.

The first 4 patches fix the MSVC build for me. The final patch is not really related to fixing the build, but it removed some make warnings which were quite irritating ...

Note that I used the Makefile, with the Visual C++ 2008 command line compiler on Windows XP (SP3), to build a vanilla git on MinGW. I'm not subscribed to the msysgit mailing list, nor do I follow the msysgit fork of git, so these patches may conflict with commits in their repository.

HTH

ATB, Ramsay Jones

Ramsay Jones (5):
  msvc: Fix compilation errors caused by poll.h emulation
  msvc: git-daemon: Fix linker "unresolved external" errors
  msvc: Fix build by adding missing symbol defines
  msvc: test-svn-fe: Fix linker "unresolved external" error
  msvc: avoid collisions between "tags" and "TAGS"
 compat/msvc.h                     | 2 ++
 compat/vcbuild/include/sys/poll.h | 1 -
 compat/vcbuild/include/unistd.h   | 3 +++
 config.mak.uname                  | 4 +++-
 git-compat-util.h                 | 3 +++
 test-svn-fe.c                     | 2 +-
 6 files changed, 12 insertions(+), 3 deletions(-)
 delete mode 100644 compat/vcbuild/include/sys/poll.h
-- 
1.8.1
Next: Johannes Schindelin
Message 1 of 8 in “Fix msvc build”
  1. 0/5 Fix msvc buildRamsay Jones, Jan 31, 2013
  2. Johannes SchindelinJan 31, 2013
  3. Junio C HamanoJan 31, 2013
  4. Junio C HamanoFeb 25, 2013
  5. Johannes SixtFeb 25, 2013
  6. Johannes SchindelinFeb 25, 2013
  7. Johannes SixtFeb 26, 2013
  8. Ramsay JonesFeb 26, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.