Project

General

Profile

FAQ » History » Version 3

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

1 1 Pierre-Louis Bonicoli
h1. FAQ
2 1 Pierre-Louis Bonicoli
3 3 Pierre-Louis Bonicoli
* Bip fail to build with @error: unused parameter@
4 3 Pierre-Louis Bonicoli
Full error message:
5 3 Pierre-Louis Bonicoli
<pre>
6 3 Pierre-Louis Bonicoli
depbase=`echo src/connection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
7 3 Pierre-Louis Bonicoli
        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 3 Pierre-Louis Bonicoli
        mv -f $depbase.Tpo $depbase.Po
9 3 Pierre-Louis Bonicoli
cc1: warnings being treated as errors
10 3 Pierre-Louis Bonicoli
src/connection.c: In function ‘tmp_dh_cb’:
11 3 Pierre-Louis Bonicoli
src/connection.c:1093: error: unused parameter ‘ssl_unused’
12 3 Pierre-Louis Bonicoli
make[1]: *** [src/connection.o] Error 1
13 3 Pierre-Louis Bonicoli
</pre>
14 3 Pierre-Louis Bonicoli
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/