Thank you that did the job.
Tom
On Thu, 23 Nov 2006 13:06:29 -, Prof Brian Ripley
<[EMAIL PROTECTED]> wrote:
> On Thu, 23 Nov 2006, Prof Brian Ripley wrote:
>
>> Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not
>> defined. This *is* documented in 'Writing R Extensio
On Thu, 23 Nov 2006, Prof Brian Ripley wrote:
> Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not
> defined. This *is* documented in 'Writing R Extensions'.
That was the general intention, but seems not to cover this example.
Howver,
#include
#undef Realloc
#define R_Real
But from R_ext/RS.h you have (my comments are given by <-- some text):
BEGIN
EXTRACT
#ifndef STRICT_R_HEADERS
<-- fair enough this is defined but it
Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not
defined. This *is* documented in 'Writing R Extensions'.
On Thu, 23 Nov 2006, Tom McCallum wrote:
> Thank you for your reply. My mistake - I meant Realloc (missed the 'e').
> This morning I reinstalled MinGW with all the pat
Thank you for your reply. My mistake - I meant Realloc (missed the 'e').
This morning I reinstalled MinGW with all the patches suggested by the
Install R on Windows Help page, including w32api-3.7, just to make sure
all was as it should be. I have put
#define WIN32_LEAN_AND_MEAN
at the t
Where exactly did you get windows.h from? The recommended source is
w32api-3.7.tar.gz, and there is no Ralloc in any of its header files,
including objidl.h.
BTW, do you know about defining WIN32_LEAN_AND_MEAN when including
windows.h? If not, it is worth finding out about.
On Wed, 22 Nov 20
Hi everyone,
Have been trying to include windows.h (from MinGW) and R.h into a package
and have found that Ralloc is coming up as a clash no matter which include
ordering I use. In windows it has 2 arguments and is defined in objidl.h
and in R.h it is 3 arguments. Any ideas of how to work