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

[PATCH 0/4] misc. msvc patches

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Jan 20, 2010, 19:19 UTC
Message-ID
<4B57573E.2050006@ramsay1.demon.co.uk>
Hi Junio,

Since we can now build git on Cygwin using msvc, I've been looking to suppress the *many* compiler warnings issued by msvc; OK I haven't been trying too hard, since Windows is not my main platform and msvc is not my primary compiler! ;-) However, every little helps...

The following patches have been hanging around for several weeks, so I decided to pass them on now rather than wait until I get around to finishing the other patches.

[PATCH 1/4] engine.pl: Fix a recent breakage of the buildsystem generator [PATCH 2/4] msvc: Fix an "unrecognized option" linker warning [PATCH 3/4] msvc: Fix a compiler warning due to an incorrect pointer cast [PATCH 4/4] msvc: Add a definition of NORETURN compatible with msvc compiler

These patches remove 86 warnings for me (84 of those due to patch #4).

I have another (small) patch which avoids 109 further warnings, but I want to provide an alternative solution; this solution is currently a 4 patch series which only removes about 60 warnings so far...

ATB, Ramsay Jones

Next: Junio C Hamano
Message 1 of 3 in “misc. msvc patches”
  1. 0/4 misc. msvc patchesRamsay Jones, Jan 20, 2010
  2. Junio C HamanoJan 20, 2010
  3. Ramsay JonesJan 22, 2010

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.