[Debian-astro-maintainers] Bug#748196: Excess element in struct initializer

Michael Tautschnig mt at debian.org
Thu May 15 09:05:11 UTC 2014


Package: cpl-plugin-xshoo
Version: 2.4.0+dfsg-1
Severity: wishlist
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the following warning is provided by GCC, which may point at a maintenance
issue:

[...]
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../xsh -I/usr/include -I/usr/include -I/usr/include  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-builtin -Wall  -I/usr/include  -Inotneeded -I/usr/include -I/usr/include -I/usr/include -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-builtin -Wall -D_FORTIFY_SOURCE=2 -Inotneeded  -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-builtin -Wall -c -o test-xsh_create_master_dark.o test-xsh_create_master_dark.c
test-xsh_create_master_dark.c: In function 'main':
test-xsh_create_master_dark.c:89:3: warning: excess elements in struct initializer [enabled by default]
   xsh_stack_param stack_param = {"median",5.,5.,5};
   ^
test-xsh_create_master_dark.c:89:3: warning: (near initialization for 'stack_param') [enabled by default]

Observe that the declaration of xsh_stack_param here

http://sources.debian.net/src/cpl-plugin-xshoo/2.4.0+dfsg-1/xsh/xsh_parameters.h?hl=478#L472

does not have an int field following the two doubles.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20140515/71196dd6/attachment.sig>


More information about the Debian-astro-maintainers mailing list