[Bug 133216] New - Incorrect array-initialization
- From: bugzilla-daemon widget gnome org
- To: garnome-list gnome org
- Cc:
- Subject: [Bug 133216] New - Incorrect array-initialization
- Date: Mon, 2 Feb 2004 09:03:23 -0500 (EST)
http://bugzilla.gnome.org/show_bug.cgi?id=133216
Summary: Incorrect array-initialization
Product: gtk+
Version: 2.3.x
OS: HP-UX
OS Details: HP-UX lilith B.11.11 U 9000/800 198901507 unlimited-user
license
Status: NEW
Status Whiteboard:
Keywords: GNOMEVER2.5
Resolution:
Severity: blocker
Priority: Normal
Component: GtkTreeView
AssignedTo: gtktreeview-bugs gtk org
ReportedBy: Jonas Jonsson alcesys se
gmake[5]: Entering directory
`/alcesys/build/garnome-0.29.1/platform/gtk+/work/main.d/gtk+-2.3.2/gtk'
source='gtktreemodel.c' object='gtktreemodel.lo' libtool=yes \
depfile='.deps/gtktreemodel.Plo' tmpdepfile='.deps/gtktreemodel.TPlo' \
depmode=hp /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile /bin/cc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/alcesys/build/gnome-2.6/lib\"
-DGTK_DATADIR=\"/alcesys/build/gnome-2.6/share\"
-DGTK_DATA_PREFIX=\"/alcesys/build/gnome-2.6\"
-DGTK_SYSCONFDIR=\"/alcesys/build/gnome-2.6/etc\" -DGTK_VERSION=\"2.3.2\"
-DGTK_BINARY_VERSION=\"2.2.0\" -DGTK_HOST=\"hppa2.0w-hp-hpux11.11\"
-DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf
-I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_ENABLE_DEBUG -D_REENTRANT
-I/alcesys/build/gnome-2.6/include/glib-2.0
-I/alcesys/build/gnome-2.6/lib/glib-2.0/include
-I/alcesys/build/gnome-2.6/include -I/usr/include/X11R6
-I/alcesys/build/gnome-2.6/include/pango-1.0
-I/alcesys/build/gnome-2.6/include/freetype2
-I/alcesys/build/gnome-2.6/include/atk-1.0
-I/alcesys/build/gnome-2.6/include -I/usr/contrib/X11R6/include
-I/usr/include/X11R6 -I/usr/local/include -I/usr/local/gnu/include +DA2.0W
-Ae -c -o gtktreemodel.lo `test -f 'gtktreemodel.c' || echo './'`gtktreemodel.c
/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_LIBDIR=\"/alcesys/build/gnome-2.6/lib\"
-DGTK_DATADIR=\"/alcesys/build/gnome-2.6/share\"
-DGTK_DATA_PREFIX=\"/alcesys/build/gnome-2.6\"
-DGTK_SYSCONFDIR=\"/alcesys/build/gnome-2.6/etc\" -DGTK_VERSION=\"2.3.2\"
-DGTK_BINARY_VERSION=\"2.2.0\" -DGTK_HOST=\"hppa2.0w-hp-hpux11.11\"
-DGTK_COMPILATION -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf
-I../gdk-pixbuf -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DG_ENABLE_DEBUG -D_REENTRANT
-I/alcesys/build/gnome-2.6/include/glib-2.0
-I/alcesys/build/gnome-2.6/lib/glib-2.0/include
-I/alcesys/build/gnome-2.6/include -I/usr/include/X11R6
-I/alcesys/build/gnome-2.6/include/pango-1.0
-I/alcesys/build/gnome-2.6/include/freetype2
-I/alcesys/build/gnome-2.6/include/atk-1.0
-I/alcesys/build/gnome-2.6/include -I/usr/contrib/X11R6/include
-I/usr/include/X11R6 -I/usr/local/include -I/usr/local/gnu/include +DA2.0W
-Ae -c gtktreemodel.c -Wp,-M.deps/gtktreemodel.TPlo +Z -DPIC -o
.libs/gtktreemodel.o
cpp: "/usr/include/sys/param.h", line 379: warning 2001: Redefinition of
macro MIN.
cpp: "/usr/include/sys/param.h", line 380: warning 2001: Redefinition of
macro MAX.
cc: "gtktreemodel.c", line 133: error 1521: Incorrect initialization.
cc: "gtktreemodel.c", line 133: error 1521: Incorrect initialization.
cc: "gtktreemodel.c", line 134: error 1521: Incorrect initialization.
cc: "gtktreemodel.c", line 135: error 1521: Incorrect initialization.
cc: "gtktreemodel.c", line 135: error 1521: Incorrect initialization.
cc: "gtktreemodel.c", line 223: warning 604: Pointers are not
assignment-compatible.
cc: "gtktreemodel.c", line 253: warning 604: Pointers are not
assignment-compatible.
cc: "gtktreemodel.c", line 287: warning 604: Pointers are not
assignment-compatible.
gmake[5]: *** [gtktreemodel.lo] Error 1
The following construction doesn't seem to work with HP-UX C-compiler:
#include <stdio.h>
long foo(void)
{
return 1L;
}
long bar(void)
{
return 2L;
}
int main(int argc, char *argv[])
{
long frotz[] = { ( foo () ), ( bar () ) };
printf("Hello Gnome-2.6, where are You?\n");
return 0;
}
/opt/ansic/bin/cc -Ae +DA2.0W -o frotz gtype.c
cc: "gtype.c", line 15: error 1521: Incorrect initialization.
cc: "gtype.c", line 15: error 1521: Incorrect initialization.
The compiler is:
HP C/HP-UX Version B.11.01.21
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]