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

Re: [RFC PATCH 2/2] MSVC: Fix an "incompatible pointer types" compiler warning

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 4, 2009, 10:47 UTC
Message-ID
<alpine.DEB.1.00.0912041144470.4985@pacific.mpi-cbg.de>
In-Reply-To
<4B1806FB.2050401@ramsay1.demon.co.uk>
Hi,
On Thu, 3 Dec 2009, Ramsay Jones wrote:
>  compat/mingw.h |   27 ++++++++++++++++++++++++++-
>  compat/msvc.h  |   25 +------------------------
>  2 files changed, 27 insertions(+), 25 deletions(-)

I'd prefer to have the MSVC-specific definitions in msvc.h, along with a definition of, say, ALREADY_DEFINED_STATI64 or some such (which tells mingw.h not to do anything about those types). There is no need to clutter mingw.h with stuff for MSVC.

Ciao, Dscho

Previous: Ramsay JonesNext: Ramsay Jones
Message 4 of 5 in “MSVC: Fix an "incompatible pointer types" compiler warning”
  1. 2/2 MSVC: Fix an "incompatible pointer types" compiler warningRamsay Jones, Dec 3, 2009
  2. Johannes SixtDec 4, 2009
  3. Ramsay JonesDec 4, 2009
  4. Johannes SchindelinDec 4, 2009
  5. Ramsay JonesDec 4, 2009

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.