Project

General

Profile

FAQ » History » Version 3

Pierre-Louis Bonicoli, 2011-12-20 02:34

1 1 Pierre-Louis Bonicoli
h1. FAQ
2
3 3 Pierre-Louis Bonicoli
* Bip fail to build with @error: unused parameter@
4
Full error message:
5
<pre>
6
depbase=`echo src/connection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
7
        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 &&\
8
        mv -f $depbase.Tpo $depbase.Po
9
cc1: warnings being treated as errors
10
src/connection.c: In function ‘tmp_dh_cb’:
11
src/connection.c:1093: error: unused parameter ‘ssl_unused’
12
make[1]: *** [src/connection.o] Error 1
13
</pre>
14
source:configure.ac#L32 use the "AX_C___ATTRIBUTE__":http://www.gnu.org/s/autoconf-archive/ax_c___attribute__.html macro. This macro is included in "autoconf-archive":http://www.gnu.org/software/autoconf-archive/