bug-ddd
[Top][All Lists]
Advanced

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

Re: PannedGE error again?


From: Laurence
Subject: Re: PannedGE error again?
Date: Tue, 19 Jun 2001 17:20:02 +0800 (CST)

Dear Arnaud,

Yes it seems to work!

Thanks!
Laurence

--- Arnaud Desitter <address@hidden> wrote: > > 
> > > 
> > > 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.


=====
---
Cheers!
Laurence

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send dad a Father's Day Card!
http://greetings.yahoo.com.sg/



reply via email to

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