[Bug 45272] Warning breaks wocky build on mingw32

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 26 17:07:44 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45272

Siraj Razick <siraj.razick at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Siraj Razick <siraj.razick at collabora.co.uk> 2012-01-26 08:07:44 PST ---
(In reply to comment #0)
> It's throwing this error when building for Windows platform
> 
> make[2]: Entering directory `/var/lib/buildbot/telepathy/wocky-win/build/wocky'
> /bin/bash ../libtool  --tag=CC   --mode=compile i686-pc-mingw32-gcc -std=gnu99
> -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement
> -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare
> -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self
> -Wno-missing-field-initializers -Wno-unused-parameter -Werror
> -Wno-error=missing-field-initializers -Wno-error=unused-parameter 
> -mms-bitfields -I/opt/mingw//usr/i686-pc-mingw32/include/glib-2.0
> -I/opt/mingw//usr/i686-pc-mingw32/lib/glib-2.0/include   -DLIBXML_STATIC
> -I/opt/mingw/usr/i686-pc-mingw32/include/libxml2  
> -I/opt/mingw/usr/i686-pc-mingw32/include  
> -I/opt/mingw/usr/i686-pc-mingw32/include -DG_LOG_DOMAIN=\"wocky\" -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
> -mms-bitfields -MT wocky-tls.lo -MD -MP -MF .deps/wocky-tls.Tpo -c -o
> wocky-tls.lo wocky-tls.c
> libtool: compile:  i686-pc-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes
> -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith
> -Wformat-security -Winit-self -Wno-missing-field-initializers
> -Wno-unused-parameter -Werror -Wno-error=missing-field-initializers
> -Wno-error=unused-parameter -mms-bitfields
> -I/opt/mingw//usr/i686-pc-mingw32/include/glib-2.0
> -I/opt/mingw//usr/i686-pc-mingw32/lib/glib-2.0/include -DLIBXML_STATIC
> -I/opt/mingw/usr/i686-pc-mingw32/include/libxml2
> -I/opt/mingw/usr/i686-pc-mingw32/include
> -I/opt/mingw/usr/i686-pc-mingw32/include -DG_LOG_DOMAIN=\"wocky\" -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4
> -mms-bitfields -MT wocky-tls.lo -MD -MP -MF .deps/wocky-tls.Tpo -c wocky-tls.c 
> -DDLL_EXPORT -DPIC -o .libs/wocky-tls.o
> wocky-tls.c: In function 'wocky_tls_session_verify_peer':
> wocky-tls.c:691:9: error: declaration of '_stat' shadows a global declaration
> [-Werror=shadow]
> cc1: all warnings being treated as errors
> 
> make[2]: *** [wocky-tls.lo] Error 1
> make[2]: Leaving directory `/var/lib/buildbot/telepathy/wocky-win/build/wocky'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/var/lib/buildbot/telepathy/wocky-win/build/wocky'
> make: *** [install-recursive] Error 1
> program finished with exit code 2
> 
> See here the entire log:
> http://buildbot.telepathy.im:8010/builders/Wocky%20-%20default%20-%20windows/builds/0/steps/compile/logs/stdio

this is due since -Werror is on, I'll fix this today..

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list