[DGD]forced compile of auto object?

Par Winzell zell at skotos.net
Thu Mar 23 02:20:27 CET 2000


 > Is there any downside to forcing a compile via compile_object() of the auto
 > object within the driver initialization code?  Since the driver's
 > inherit_program() function isn't called for the auto object, my object
 > tracking routine never sees that object.  If I forced a compile, my
 > compile_object() redefinition would catch it.

Unless you've put your object database code in the driver object, I don't
see how the database can be compiled and activated before the auto object
is compiled -- since the auto object is always automatically inherited.
You can't recompile it either, once it's been inherited.

Since I use the kernel library and my object database is in ~System, there
is a fair number (10 or so) of programs that are compiled before my db code
ever gets initialized. But, since ~System is allowed to know about /kernel,
having an explicit list of those dependencies is not such a tragedy.

If you -really- want to avoid such a dependency list, I suppose you could
compile the object database from the driver object, activate it, destruct
the auto object, then recompile the object database...

Par

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list