[Rd] Double inclusion of Runix.h

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
17 May 2001 01:58:51 +0200


"Thomas Hoffmann" <thoffman@zappa.sax.de> writes:

> Maybe I am overlooking something important, but why is Runix.h included twice
> in sys-std.c?
> 
> ....
> #include "Runix.h"
> #include "Startup.h"
> 
> #include "Runix.h"
> ....
> 
> In Runix.h, there is another iclusion of Startup.h ...
> 
> Was this an omission during clean up? 
> 
> Curious,
> Thomas Hoffmann.

Looks like an omission. Runix.h has no guard against multiple
inclusion, so one ends up with a host of repeated declarations, which
is probably harmless, but might upset pedantic compilers(?)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._