Re: Few errors and missing includes in 19/06/2005 snapshot



On 19.07.2005 14:43, clement begue wrote:
Hi everyone!

As I was very interested in the return to the original central point
behavior, I downloaded today's snapshot, here are the errors and missing
includes I encountered using visual C++ 6.0 :

app and lib are fixed in cvs now but there are a bunch of plug-ins
still broken (see below). I would really like if people would take
compiler warnings more serious. In this case the compiler shows
programmers errors ...

Thanks,
        Hans

D:\devel\my-gtk\dia\objects>nmake -nologo -f makefile.msc
for %d in (bondgraph chronogram custom er flowchart fs grafcet Istar Jackson Kaos misc network sadt standard uml) do @nmake -nologo -f makefile.msc sub-one THIS=%d
'bondgraph.dll' is up-to-date
cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib chronoline.c
chronoline.c
chronoline.c(146) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' chronoline.c(146) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib custom_object.c
custom_object.c
custom_object.c(171) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' custom_object.c(171) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' custom_object.c(185) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' custom_object.c(185) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' custom_object.c(340) : warning C4133: 'function' : incompatible types - from 'struct _PropDescription *' to 'struct _Property *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib attribute.c
attribute.c
attribute.c(151) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' attribute.c(151) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib box.c
box.c
box.c(143) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' box.c(143) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib flow-ortho.c
flow-ortho.c
flow-ortho.c(167) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' flow-ortho.c(167) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib step.c
step.c
step.c(155) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' step.c(155) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib actor.c
actor.c
actor.c(142) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' actor.c(142) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib domain.c
domain.c
domain.c(173) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' domain.c(173) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib goal.c
goal.c
goal.c(155) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' goal.c(155) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib analog_clock.c
analog_clock.c
analog_clock.c(130) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' analog_clock.c(130) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib basestation.c
basestation.c
basestation.c(126) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' basestation.c(126) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib box.c
box.c
box.c(135) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' box.c(135) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib box.c
box.c
box.c(143) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' box.c(143) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' cl -G5 -Zi -MD -W3 -nologo -I. -I..\.. -DHAVE_CONFIG_H -GD -c -FImsvc_recommended_pragmas.h -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I..\..\..\glib -I..\..\..\glib\glib -I..\..\..\glib\gmodule -I..\..\..\other\intl-tml -I ..\..\../atk -I..\..\../gtk+-2-6\gdk -I..\..\../gtk+-2-6 -I..\..\..\pango -I..\..\../atk -I ..\..\..\cairo\cairo\src -I ..\..\..\cairo\libpixman\src -I ..\..\..\cairo -I..\..\..\dev\include -I ..\..\..\dev\include -I ..\..\..\dev\include\freetype2 -I..\..\..\other\intl-tml -I..\..\../other/libiconv-1.3\include -I ..\..\../gnome-xml\include -I..\..\lib activity.c
activity.c
activity.c(119) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *' activity.c(119) : error C4047: 'initializing' : 'int (__cdecl *)(struct _DiaObject *,struct _Property *)' differs in levels of indirection from 'struct _PropNumData *'



-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]