[Prev][Next][Index]

runtime.h



Lars+I ran into this:

why is a "#include runtime.h" line (runtime.h is the include file that makes
all the necessary extern declarations of pC++ RTS functions) generated into
temp.C? Most of the RTS functions are called from the kernel, so it should
be just included from kernel.h.

It only works because our pC++ parser is very generous when it comes to
undeclared functions, but we ran into some problems with the callgraph.

Was (is) there a good reason to do this this way?
If not I would like to do it the right way.

Bernd
-- 
Bernd Mohr   --   mohr@cs.uoregon.edu   --  http://www.cs.uoregon.edu/~mohr

Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.          -- Calvin