Re: [Rd] Ralloc clash

From: Prof Brian Ripley <>
Date: Wed 22 Nov 2006 - 21:21:15 GMT

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 2006, Tom McCallum wrote:

> 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 round this? Have
> checked the web and have not seen anyone else comment on this.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Thu Nov 23 09:22:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 23 Nov 2006 - 14:30:43 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.