You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2013/01/25 15:45:12 UTC
[jira] [Created] (PROTON-202) build on non-x86 fails with "error:
'scanned' may be used uninitialized"
Darryl L. Pierce created PROTON-202:
---------------------------------------
Summary: build on non-x86 fails with "error: 'scanned' may be used uninitialized"
Key: PROTON-202
URL: https://issues.apache.org/jira/browse/PROTON-202
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: 0.3
Reporter: Darryl L. Pierce
Assignee: Darryl L. Pierce
Build of qpid-proton-0.3 fails on s390(x) and ppc(64) with an error from gcc
...
./usr/bin/cc -Dqpid_proton_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m31 -march=z9-109 -mtune=z10 -fPIC -I/builddir/build/BUILD/qpid-proton-c-0.3 -I/builddir/build/BUILD/qpid-proton-c-0.3/include -Werror -Wall -pedantic-errors -std=c99 -o CMakeFiles/qpid-proton.dir/src/messenger.c.o -c /builddir/build/BUILD/qpid-proton-c-0.3/src/messenger.c
............/builddir/build/BUILD/qpid-proton-c-0.3/src/codec/codec.c: In function 'pn_data_vscan':
/builddir/build/BUILD/qpid-proton-c-0.3/src/codec/codec.c:1712:16: error: 'scanned' may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/qpid-proton.dir/src/codec/codec.c.o] Error 1
...
Probably the understanding of the function by gcc differs between x86 and s390 or ppc
gcc-4.7.2-8.fc18.s390
gcc-4.7.2-7.fc18.ppc
Version-Release number of selected component (if applicable):
qpid-proton-0.3-1.fc18
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira