[Bug 37701] New: telepathy-salut-0.5.0 build failure: error: 'attr' may be used uninitialized in this function [-Wuninitialized]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 28 23:31:49 CEST 2011


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

           Summary: telepathy-salut-0.5.0 build failure: error: 'attr' may
                    be used uninitialized in this function
                    [-Wuninitialized]
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: salut
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: ed at catmur.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Downstream: http://bugs.gentoo.org/show_bug.cgi?id=369091

/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-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  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2
-DG_LOG_DOMAIN=\"wocky\" -ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse
-m3dnow -fdiagnostics-show-option -MT wocky-sasl-scram.lo -MD -MP -MF
.deps/wocky-sasl-scram.Tpo -c -o wocky-sasl-scram.lo wocky-sasl-scram.c
libtool: compile:  i686-pc-linux-gnu-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 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"wocky\"
-ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse -m3dnow
-fdiagnostics-show-option -MT wocky-sasl-scram.lo -MD -MP -MF
.deps/wocky-sasl-scram.Tpo -c wocky-sasl-scram.c  -fPIC -DPIC -o
.libs/wocky-sasl-scram.o
cc1: warnings being treated as errors
wocky-sasl-scram.c: In function 'scram_handle_auth_data':
wocky-sasl-scram.c:528:60: error: 'attr' may be used uninitialized in this
function [-Wuninitialized]
wocky-sasl-scram.c:526:9: note: 'attr' was declared here
make[8]: *** [wocky-sasl-scram.lo] Error 1

I believe -Werror is being added to CFLAGS by the package; my CFLAGS are

CFLAGS="-ggdb -O1 -O2 -O3 -pipe -march=core2 -mmmx -msse -m3dnow
-fdiagnostics-show-option"

OK, that's confusing: the subdir lib/ext/wocky has its own autotools setup
which appears to have been shipped in a development state:

m4_define([wocky_nano_version], [1])
...
TP_COMPILER_WARNINGS([ERROR_CFLAGS], [test "x$official_release" = xno],

-- 
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