www.digitalmars.com         C & C++   DMDScript  

c++.windows - Problem: Previous Definition Different

reply =?iso-8859-1?Q?Robert_M=2E_M=FCnch?= <robert.muench robertmuench.de> writes:
Hi, I have a problem while linkig code and can't figure out where it comes  
from. Maybe someone can give it a try.

I'm using "MapKit" a hash table implemented in C from  
http://www.jeannot.org/~js/code/index.en.html

Everything compiles fine but as said can't be linked. The code uses INLINE  
a lot maybe this can yield to the problem?

Just try to build the examples it's very straight forward.

Any feedback appreciated.

-- 
Robert M. Münch
Management & IT Freelancer
http://www.robertmuench.de
Apr 04 2008
parent Jan Knepper <jan smartsoft.us> writes:
I think the linker reports that when you have 2 definitions for the same 
  function (or data).

Jan



Robert M. Münch wrote:
 Hi, I have a problem while linkig code and can't figure out where it 
 comes from. Maybe someone can give it a try.
 
 I'm using "MapKit" a hash table implemented in C from 
 http://www.jeannot.org/~js/code/index.en.html
 
 Everything compiles fine but as said can't be linked. The code uses 
 INLINE a lot maybe this can yield to the problem?
 
 Just try to build the examples it's very straight forward.
 
 Any feedback appreciated.
 

-- ManiaC++ Jan Knepper www.janknepper.com But as for me and my household, we shall use Mozilla... www.mozilla.org
Apr 14 2008