Package: libappstream-glib-dev
Version: 0.6.1-1
Severity: important
Tags: patch
Heya,
We just found this while trying to build Unity (I think) in Ubuntu. It's
building with -Werror so this breaks the build there.
(desktop-sid-i386)root@nightingale:/home/laney/temp# cat asglib.c
#include <appstream-glib.h>
#include <stdio.h>
void main (void)
{
printf ("%lu\n", AS_APP_SUBSUME_FLAG_SOURCE_KIND);
}
(desktop-sid-i386)root@nightingale:/home/laney/temp# gcc $(pkg-config --cflags
appstream-glib) asglib.c $(pkg-config --libs appstream-glib)
In file included from /usr/include/libappstream-glib/appstream-glib.h:27:0,
from asglib.c:1:
/usr/include/libappstream-glib/as-app.h:162:44: warning: left shift count >=
width of type [-Wshift-count-overflow]
AS_APP_SUBSUME_FLAG_PROJECT_LICENSE = 1lu << 32, /* Since: 0.6.1 */
^~
/usr/include/libappstream-glib/as-app.h:163:42: warning: left shift count >=
width of type [-Wshift-count-overflow]
AS_APP_SUBSUME_FLAG_PROJECT_GROUP = 1lu << 33, /* Since: 0.6.1 */
^~
/usr/include/libappstream-glib/as-app.h:164:41: warning: left shift count >=
width of type [-Wshift-count-overflow]
AS_APP_SUBSUME_FLAG_SOURCE_KIND = 1lu << 34, /* Since: 0.6.1 */
This looks like it's fixed upstream with
1feb3abbe56661d83ee798d9ad98e49cfd525267. Going to test that now.
Cheers,
--
Iain Lane [ [email protected] ]
Debian Developer [ [email protected] ]
Ubuntu Developer [ [email protected] ]