Branch: Tag:

2015-04-28

2015-04-28 14:01:49 by Jonas Walldén <jonasw@roxen.com>

Silence a ton of warnings in clang since the UNUSED() family of macros now
depend on HAVE_FUNCTION_ATTRIBUTES being available, and the configure test
refused to set that if it detected __declspec before.

6407:   AC_MSG_RESULT($pike_cv_lc___declspec)   if test "$pike_cv_lc___declspec" = yes; then    AC_DEFINE(HAVE_DECLSPEC) - else + fi    -  # NOTE: Avoid using __attribute__ if __declspec is available. -  # This is a kludge to descrease the number of warnings -  # on ecc. -  +     AC_MSG_CHECKING(for gcc function attributes)    AC_CACHE_VAL(pike_cv_gcc_attributes,    [
6465:    if test "$pike_cv_gcc_attributes" = yes; then    AC_DEFINE(HAVE_FUNCTION_ATTRIBUTES)    fi - fi +       AC_MSG_CHECKING(if va_list is a state pointer)   AC_CACHE_VAL(pike_cv_va_list_is_state_ptr, [