Project

General

Profile

FAQ » History » Version 3

« Previous - Version 3/11 (diff) - Next » - Current version
Pierre-Louis Bonicoli, 2011-12-20 02:34


FAQ

  • Bip fail to build with error: unused parameter
    Full error message:
    depbase=`echo src/connection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
            gcc -DHAVE_CONFIG_H -I. -I./src    -Wall -Wextra -Werror -g -O2 -fPIE -MT src/connection.o -MD -MP -MF $depbase.Tpo -c -o src/connection.o src/connection.c &&\
            mv -f $depbase.Tpo $depbase.Po
    cc1: warnings being treated as errors
    src/connection.c: In function ‘tmp_dh_cb’:
    src/connection.c:1093: error: unused parameter ‘ssl_unused’
    make[1]: *** [src/connection.o] Error 1
    

    source:configure.ac#L32 use the AX_C___ATTRIBUTE__ macro. This macro is included in autoconf-archive