On Mon, 17 Sep 2001, Henrik Stuart wrote: > Is there any reason as to why the header files in Circle hasn't > been created using guards so that it is possible to include a > header file twice in the same manner the standard libraries are > done? No. Is there are any reason you're including header files twice? With the standard library it's done because many of the headers #include other headers. Sometimes even circularly for interdependencies. This isn't done in CircleMUD and the header files generally aren't complex or modular enough to justify it (even though it's a small change). If the files were more numerous (split into several different modules), then it might make more sense. As it stands, the files don't have inter-dependencies that require them to #include each other (excepting "conf.h" and "sysdep.h") and so this protection would serve little real purpose. -dak -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST