bug-ddd
[Top][All Lists]
Advanced

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

Re: PannedGE error again?


From: Arnaud Desitter
Subject: Re: PannedGE error again?
Date: Mon, 18 Jun 2001 11:10:00 +0100 (BST)

> 
> > 
> > Hi!
> > 
> > I am trying to compile DDD 3.3.1 on AIX 4.3.3 with
> > GNUPro for PPC. The version is : 2.9-aix43-010414
> > 
> > I am getting an error in PannedGE.C about
> > initialisation error: cannot convert void (*) (...) to
> > void (*) ().. at line 145.
> > 
> 


A more correct patch (extern should be extern "C").

--- PannedGE.C  Thu Apr 26 12:08:06 2001
+++ PannedGE.C.new      Mon Jun 18 10:17:35 2001
@@ -48,7 +48,9 @@

 #include <X11/Intrinsic.h>
 #include <X11/StringDefs.h>
-#include <X11/Xaw/XawInit.h>
+// Experiment for AIX
+//#include <X11/Xaw/XawInit.h>
+extern "C" void XawInitializeWidgetSet(void);
 #include <X11/Xaw/Form.h>
 #include <X11/Xaw/Panner.h>
 #include <X11/Xaw/Porthole.h>

If it works, please revert to the original version and add
"extern "C" {" and "}" around #include <X11/Xaw/XawInit.h>.

Arnaud 

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
01285 884400.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]