I maintain the Meshlab package for Fedora Linux. When I try to update the package from 1.3.1 to 1.3.2, I get a compile error (from GCC 4.7.2):
In file included from decorate_base.h:29:0,
from decorate_base.cpp:24:
colorhistogram.h: In member function 'void vcg::ColorHistogram<ScalarType>::Clear()':
colorhistogram.h:43:11: error: '::::Clear' is not a class member
The error occurs on the first statement of the Clear() method:
void Clear() {
this->::Clear();
CV.clear();
}
I've never seen C++ syntax like "this->::Clear()" before. It that supposed to invoke the superclass' Clear method?
If you commit a fix for this to the repository, then update this ticket, please include an explanation of which commit fixed it. With issue #292, it was just closed as fixed, but I wasn't able to identify where the fix actually occurred.
Thanks!
Eric
I am getting this compile time error too using 1.3.2.
Linux 3.7.5-201.fc18.x86_64
gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)
meshlab-1.3.2
The file
meshlab/src/meshlabplugins/decorate_base/colorhistogram.h
Has not change between 1.3.2 and SVN.