Date: Fri, 18 May 2001 19:07:50 -0700 From: "Graff, David" To: "'htdig-general@lists.sourceforge.net'" Subject: [htdig] [PATCH] This is a _real_ quickie patch for the Configuration Clas s Basically here is what I ran into:   I'm trying to get ht://Dig integrated into a product that is based on Orbix.  Orbix's core library liborbix.so contains a class deep down in it called Configuration.  Unfortunately, due to the lack of namespace support in compilers for MANY production products there is a clash between libht.so and liborbix.so due to a name mangling collision.   Anyway, Gilles had a very good suggestion to add -DConfiguration=HTDIGConfiguration (or something similar) to the CXXFLAGS.  Now while this works for this case, I'm planning on linking against the ht://Dig package.  I do NOT however plan on shipping a binary version of the ht://Dig.  The solution I came up with seems to be quite amicable.   Basically, I've re-named Configuration to HTDIG_Configuration.  BUT I've added a typedef HTDIG_Configuration Configuration;   This allows for a unique name for 'Configuration' while reducing the invasiveness of changing all code references to Configuration to HTDIG_Configuration.   Could you kind folks please take a look over it and tell me what you think?   Thanks for your input. -- David J. Graff Broadvision/Atlanta -  Principal Consultant mailto:dgraff@broadvision.com Phone: (678) 427-5412