[Bug 45272] New: Warning breaks wocky build on mingw32
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 26 16:15:13 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45272
Bug #: 45272
Summary: Warning breaks wocky build on mingw32
Classification: Unclassified
Product: Wocky
Version: git master
Platform: Other
OS/Version: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: General
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: alvaro.soliverez at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
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
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list