core.hpp problem with C++ CLI (Bug #681)
Description
I have a problem with the latest svn version (3946). I am using C++.NET CLI for my project. The use of the word generic in the core.hpp is generating errors when I try to compile my files. The problem occurs with the following lines for example:
enum { generic = 0, depth = DataDepth<channel_type>::value, channels = 4,
fmt = ((channels-1)<<8) + DataDepth<channel_type>::fmt,
type = CV_MAKETYPE(depth, channels) };
I think this happens because the generic word is a keyword and this ultimately causes errors while parsing the file. Is it possible to replace this word with something similar like Generic or _generic?
Associated revisions
DataType::generic renamed to DataType::generic_type (ticket #681)
Merge pull request #681 from jbohren-forks:fix-ellipse-segfault
History
Updated by Vadim Pisarevsky over 14 years ago
generic renamed to generic_type in r3954. Please, check it now
- Status changed from Open to Done
- (deleted custom field) set to fixed