Project

General

Profile

FAQ » History » Revision 4

Revision 3 (Pierre-Louis Bonicoli, 2011-12-20 02:34) → Revision 4/11 (Pierre-Louis Bonicoli, 2011-12-20 02:36)

h1. FAQ 

 * when building Bip fail to build with @error: unused parameter@    occurs 
 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/ 
 Full error message: 
 <pre> 
 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 
 </pre> 
 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/