Gilles,

That suggestion worked like a charm.  

Now, on to the larger issue.  If people start integrating ht://Dig into a production 
package
there are increased possibilities of namespace collisions.  At my former company we 
prefixed
most of our classes with a string like IQ_ to give us a pseudo namespace.  Would a 
change to the
name of Configuration cause mass hysteria?  I'm asking due to the fact that I am 
working on such
an integration.

I'm trying to keep both parties interest in mind here: keep the project open / make it 
workable in
commercial type environments.

I'd appreciate comments on this.
--
David J. Graff

> -----Original Message-----
> From: Gilles Detillieux [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 11:17 AM
> To: Graff, David
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htdig] Shared Library Question...maybe someone 
> can answer
> this for me...
> 
> 
> According to Graff, David:
> > I'm trying to integrate ht://Dig into an app based on 
> Iona's CORBA implementation Orbix.
> > 
> > I just found a VERY nasty symbol collision between 
> liborbix.so and libht.so...
> > 
> > They both have an object named Configuration in them.  The 
> problem is that when
> > I go to create a new instance of HtConfiguration it calls 
> the contructor of the
> > Orbix object Configuration.
> > 
> > Does anyone know of a solution to this so that both objects 
> can remain as they are
> > without huge modifications to the code...I was thinking 
> namespace first thing but
> > I know that namespace is not implemented under many compilers.
> > 
> > Any suggestions?
> 
> My first instinct would be to try adding 
> -DConfiguration=MyConfiguration
> or something like this to CXXFLAGS, as a quick and easy global rename
> of htdig's own Configuration class.
> 
> -- 
> Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
> Spinal Cord Research Centre       WWW:    
> http://www.scrc.umanitoba.ca/~grdetil
> Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
> Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
> 

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to