Comment 3 for bug 656229

Revision history for this message
Azamat (shakhimardanov) wrote :

Hi all,
I am Azamat. I am new here. Currently using unicap for some vision projects.
In new releases after 0.95 there seems to be some "bug".
In unicap.h and unicap.c in unicap_data_buffer_private there is a member variable called "private".
Since it is reserved keyword for C++, both gcc/g++-4.3.2 complain on debian and I get complaints (not sure though why gcc).
Since in some projects I need to mix C and C++ this is a little bit a problem.
I renamed that variable in both files to sth else. Now everything is fine.
Here is a -p0 level patch file: