← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH 1/2] Last argument before ellipsis may not be reference

 

Hi,

On 13.09.2015 17:55, Lorenzo Marcantonio wrote:

> I suppose that is talking about the implementation of va_start: address
> of last+sizeof of last gives the starting point of the va_list (in the
> 'correct' stack direction, obviously); am I correct?

Indeed. The standard is written so va_* can be implemented without
special handling in the compiler (so there is no need to implement
intrinsic functions).

> ... let me guess, a clang warning?

No, hard error from VS 2015. MS generally don't accept nonconforming
code if they can avoid it, because they'd be stuck supporting that code
for years.

   Simon


Attachment: signature.asc
Description: OpenPGP digital signature


References