A package I have written makes considerable use of external C code. There appear to be no problems building a Windows binary with the GNU C compiler, but now I would like to make the package available for other platforms. A stringent check of the code with the gcc options '-Wall -pedantic' flags many nested functions and variable-length arrays that are not allowed in ISO C. Is it essential that distributed C source code for R packages conforms to ISO C in this respect? I'm working in Windows XP with R2.9.2 and Rtools 2.9.
[Incidentally, when I use a makevars.win file to include these gcc options in Rcmd build etc. the problem with variable-length arrays is not flagged; maybe my command-line gcc is a different version from that in Rtools] Murray Efford University of Otago Dunedin, New Zealand murray.eff...@otago.ac.nz<mailto:murray.eff...@otago.ac.nz> [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel