• 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: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    f33038bc
Name
Last commit
Last update
bus Loading commit data...
cmake Loading commit data...
dbus Loading commit data...
doc Loading commit data...
m4 Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
Doxyfile.in Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
NEWS.pre-1-2 Loading commit data...
README Loading commit data...
README.cmake Loading commit data...
README.cygwin Loading commit data...
README.launchd Loading commit data...
README.valgrind Loading commit data...
README.win Loading commit data...
README.wince Loading commit data...
autogen.sh Loading commit data...
cleanup-man-pages.sh Loading commit data...
configure.ac Loading commit data...
dbus-1-uninstalled.pc.in Loading commit data...
dbus-1.pc.in Loading commit data...