[Debian GNUstep maintainers] Bug#465302: etoile: GSServerForWindow implicitly converted to pointer

dann frazier dannf at debian.org
Mon Feb 11 18:38:53 UTC 2008


Package: etoile
Version: 0+20060914+dfsg-2
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.

 Function `GSServerForWindow' implicitly converted to pointer at NSWindow.m:370

This is often due to a missing function prototype definition.
For more information, see [2].

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions

--- etoile-0+20060914+dfsg/Etoile/Bundles/Camaelon/NSWindow.m~	2008-02-11 11:13:22.000000000 -0700
+++ etoile-0+20060914+dfsg/Etoile/Bundles/Camaelon/NSWindow.m	2008-02-11 11:28:47.000000000 -0700
@@ -1,5 +1,6 @@
 #include <Foundation/Foundation.h>
 #include <AppKit/AppKit.h>
+#include <GNUstepGUI/GSDisplayServer.h>
 #include "GSWindowDecorationView.h"
 #include "GSDrawFunctions.h"
 #include "GraphicToolbox.h"





More information about the pkg-GNUstep-maintainers mailing list