I'm building ConsoleKit 0.3.0 tarball release and trunk code under OpenSolaris with sun cc, will fails on following error: /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -D_REENTRANT -D_PTHREADS -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/libexec\" -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -DCONSOLE_KIT_PID_FILE=\"/usr/var/run/ConsoleKit/pid\" -DG_ENABLE_DEBUG -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=2 -DDBUS_VERSION_MICRO=3 -g -c ck-log-event.c -KPIC -DPIC -o .libs/ck-log-event.o "ck-log-event.h", line 48: zero-sized struct/union "ck-log-event.h", line 52: zero-sized struct/union "ck-log-event.h", line 56: zero-sized struct/union "ck-log-event.h", line 60: zero-sized struct/union cc: acomp failed for ck-log-event.c
Created attachment 19782 [details] [review] patch for bug #18149
Sorry for the slow response. I've fixed this in master now. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.