Max Derhak
-
2012-08-31
- status: open --> pending
Hello,
you should build SampleICC with the gcc -Woverloaded-virtual option and have a look at the warnings reported. For example:
IccTagBasic.h:193:28: warning: 'virtual icValidateStatus CIccTag::Validate(icTagSignature, std::string&, const CIccProfile*) const' was hidden
IccTagLut.h:389:28: warning: by 'virtual icValidateStatus CIccMBB::Validate(icTagSignature, std::string&, const CIccProfile*)'
Note the missing trailing 'const', which makes the second function a new function instead of overriding the first one. There are more mistakes like this in the source.