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, [EMAIL PROTECTED] 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