Re: [Rd] Ralloc clash

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
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,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.