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

Re: [PATCH 05/11] Remove va_copy at MSVC because there are va_copy.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 18, 2009, 09:54 UTC
Message-ID
<alpine.DEB.1.00.0908181153000.4680@intel-tinevez-2-302>
In-Reply-To
<1976ea660908172206hc75c1e6i117806338be5ccea@mail.gmail.com>
Hi,
On Tue, 18 Aug 2009, Frank Li wrote:
Show 7 quoted lines
> > #ifndef va_copy
> > #define va_copy(dst, src)	((dst) = (src))
> > #endif
> >
> > if it works on MSVC?
> 
> I test it, it works.

But please, either put it into compat/msvc.h or make it dependent on some #define such as "DEFINE_VA_COPY_TRIVIALLY" so that other platforms who might miss va_copy (but can use the trivial definition above) can use it. I do not think that va_copy can be defined like this in general.

Ciao, Dscho

Previous: Frank Li
Message 10 of 10 in “Remove va_copy at MSVC because there are va_copy.”
  1. 05/11 Remove va_copy at MSVC because there are va_copy.Frank Li, Aug 17, 2009
  2. Johannes SchindelinAug 17, 2009
  3. Joshua JensenAug 17, 2009
  4. Paolo BonziniAug 17, 2009
  5. Reece DunnAug 17, 2009
  6. Erik Faye-LundAug 17, 2009
  7. Erik Faye-LundAug 17, 2009
  8. Johannes SchindelinAug 17, 2009
  9. Frank LiAug 18, 2009
  10. Johannes SchindelinAug 18, 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.