[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gv] problems with libXaw3D-1.6.1
From: |
gabriele balducci |
Subject: |
Re: [bug-gv] problems with libXaw3D-1.6.1 |
Date: |
Mon, 27 Feb 2012 08:41:25 +0100 |
hi there
> > After libXaw3d-1.6.1 upgrade, gv-3.7.3 segfaults with:
>
> I've started updating Fedora Rawhide to Xaw3d 1.6.1. Fedora carries a
> fair number of patches to the library that are still not yet upstream so
> we're not yet complete.
>
> However, I cannot compile gv 3.7.3 against it, I get the following
>
> Scrollbar.c: In function 'Redisplay':
> Scrollbar.c:1009:4: error: too few arguments to function
> 'swclass->threeD_class.shadowdraw'
> Scrollbar.c: In function 'NotifyThumb':
> Scrollbar.c:1372:4: warning: dereferencing type-punned pointer will
> break strict-aliasing rules [-Wstrict-aliasing]
>
> 1.6.1 defines the shadowdraw interface explicitly:
>
> < 1.5E > 1.6.1
> < void (*shadowdraw)();
> ---
> > void (*shadowdraw)(Widget, XEvent *, Region, XtRelief, Boolean);
>
> gv calls:
>
> (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
>
> Not sure what the proper last two arguments would be.
>
this should be fixed by this patch:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch?revision=1.1&view=markup
(at least it worked for me with Xaw3d 1.6, where that compilation problem
first appeared)
However, still no clue about the segfaults after apparent smooth
compilation with Xaw3d 1.6.1 ...
ciao
gabriele
--
Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: address@hidden
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html
- [bug-gv] problems with libXaw3D-1.6.1, balducci, 2012/02/19
- Re: [bug-gv] problems with libXaw3D-1.6.1, Markus Steinborn, 2012/02/25
- Re: [bug-gv] problems with libXaw3D-1.6.1, gabriele balducci, 2012/02/26
- Re: [bug-gv] problems with libXaw3D-1.6.1, Orion Poplawski, 2012/02/27
- Re: [bug-gv] problems with libXaw3D-1.6.1, Markus Steinborn, 2012/02/28
- Re: [bug-gv] problems with libXaw3D-1.6.1, Orion Poplawski, 2012/02/28
- Re: [bug-gv] problems with libXaw3D-1.6.1, Markus Steinborn, 2012/02/29
- Re: [bug-gv] problems with libXaw3D-1.6.1, gabriele balducci, 2012/02/29
- [bug-gv] gv 3.7.3.90 released, Markus Steinborn, 2012/02/29
Re: [bug-gv] problems with libXaw3D-1.6.1, Orion Poplawski, 2012/02/27
- Re: [bug-gv] problems with libXaw3D-1.6.1,
gabriele balducci <=
Re: [bug-gv] problems with libXaw3D-1.6.1, Bernhard R. Link, 2012/02/28