gpoo / ccfinderx

CCFinderX with autotools support
MIT License
52 stars 25 forks source link

error during make #7

Open xomak opened 11 months ago

xomak commented 11 months ago

error: cannot call member function ‘size_t CloneDetector<ElemType, HashValueType>::getUnitLength() const [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int]’ without object 519 | size_t unitLength = getUnitLength(); | ~~~~~^~

xomak commented 11 months ago

In file included from ccfx/ccfx.cpp:31: ccfx/../newengine/clonedetector.h: In instantiation of ‘void CloneDetector<ElemType, HashValueType>::ClonePairListenerAdapter::found(const std::vector<CloneDetector<ElemType, HashValueType>::CloneSetItem>&, size_t, uint64_t) [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int; uint64_t = long unsigned int]’: ccfx/../newengine/clonedetector.h:515:16: required from here ccfx/../newengine/clonedetector.h:519:58: error: cannot call member function ‘size_t CloneDetector<ElemType, HashValueType>::getUnitLength() const [with ElemType = short int; HashValueType = short unsigned int; size_t = long unsigned int]’ without object 519 | size_t unitLength = getUnitLength(); | ~~~~~^~