Skip to content

Double inclusion of Runix.h

2 messages · Thomas Hoffmann", Peter Dalgaard

#
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.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
"Thomas Hoffmann" <thoffman@zappa.sax.de> writes:
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(?)