Skip to content
  • Simon McVittie's avatar
    build: Require va_copy() or __va_copy() on non-MSVC compilers · f33038bc
    Simon McVittie authored
    
    
    va_copy() is a C99 feature, and should be widely supported by now.
    gcc in strict C89 mode implements an equivalent __va_copy() instead.
    
    MSVC 2013 implements va_copy(), but at the moment we still aim to support
    MSVC 2010 and 2012, which don't have it. However, we know that in
    Windows ABIs, va_list is a pointer, so we can use
    _DBUS_VA_COPY_ASSIGN. We do not support MSVC for Autotools builds, only
    CMake, due to its non-Unixish command-line interface.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    f33038bc
To find the state of this project's repository at the time of any of these versions, check out the tags.