Displaying 5 results from an estimated 5 matches for "newx11desc".
2004 Jul 30
1
plot(x,y) core dump
...I compile R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In
order to let R compile successfully under gcc 2.9, I have to change one
C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from
"retrun FALSE" to "retrun NULL", following is C code snapshot:
newX11Desc * Rf_allocNewX11DeviceDesc(double ps)
{
newX11Desc *xd;
/* allocate new device description */
if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc))))
return NULL;
/* From here on, if we need to bail out with "error", */
/* then we must also free(xd)....
2004 Jul 22
0
compile error on aix 5.2 using gcc 2.9-aix51-020209
...velopment Team,
I just compile R-1.9.1 on AIX 5.2 using gcc 2.9-aix51-020209. During
the compile process, there is an error message saying "return type
mismatch in R_HOME/src/modules/X11/devX11.c line 1768. Following is the
part of the C codes from file devX11.c
/**
This allocates an newX11Desc instance and sets its default values.
*/
newX11Desc * Rf_allocNewX11DeviceDesc(double ps)
{
newX11Desc *xd;
/* allocate new device description */
if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc))))
return FALSE;
It seems newX11Desc and FALSE is not the same da...
2004 Aug 04
0
RE: Does tcltk matter for the plot
...m: Paul Murrell [mailto:p.murrell at auckland.ac.nz]
Sent: Monday, August 02, 2004 6:10 PM
To: Liao, Kexiao
Subject: Re: Does tcltk matter for the plot
Hi
Liao, Kexiao wrote:
> Hi Paul,
> I still change the statement "return FALSE;" to "return NULL" in
> function newX11Desc * Rf_allocNewX11DeviceDesc(double ps) so that the
> codes can be compiled. Most of the R codes can be compiled
successfully.
Right, sorry, that change also needed to be made.
> However there is something incompatible with tcltk package on the AIX.
I
> wonder does that cause the problem...
2004 Jul 30
0
plot() core dump
...I compile R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In
order to let R compile successfully under gcc 2.9, I have to change one
C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from
"retrun FALSE" to "retrun NULL", following is C code snapshot:
newX11Desc * Rf_allocNewX11DeviceDesc(double ps)
{
newX11Desc *xd;
/* allocate new device description */
if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc))))
return NULL;
/* From here on, if we need to bail out with "error", */
/* then we must also free(xd)....
2006 Nov 07
2
Crash when embedding R X11 windows
...otify, &event))
;
- XFindContext(display, event.xconfigure.window,
- devPtrContext, &temp);
+ if (XFindContext(display, event.xconfigure.window,
+ devPtrContext, &temp)) return;
dd = (NewDevDesc *) temp;
xd = (newX11Desc *) dd->deviceSpecific;
if (xd->windowWidth != event.xconfigure.width ||
@@ -614,8 +614,8 @@
else if ((event.type == ClientMessage) &&
(event.xclient.message_type == _XA_WM_PROTOCOLS))
if (!inclose && event.xclient.data.l[0] == protocol) {
-...