I am using zbar library to detect barcode. I am able to compile and run their sample code in main.cpp
Now if I make a class and include <zbar.h> in the header of that class, I get the following error :
/usr/local/include/zbar/Exception.h:144: error: the default argument for parameter 0 of 'zbar::Exception::Exception(const void*)' has not yet been parsed
Why is this happening?