Reputation: 425
I try to build my app, with xzingwidget, on xcode 5.1 and I get the following error.
'CHECKSUM_EXCEPTION_H' is used a header guard here, followed by #define of a different macro
I have to change some build setting?
SOLUTION
This Xcode 5.1 unused consts treated as error helped me to find the solution.
I removed all "Apple LLVM 5.1 Custom Compiler Flags" in the ZXingWidget target, now everything works
Upvotes: 0
Views: 1405
Reputation: 1
There is a typo in the lib. It should be :
#ifndef __CHECKSUM_EXCEPTION_H__
#define __CHECKSUM_EXCEPTION_H__
....
instead of :
#ifndef __CHECKSUM_EXCEPTION_H__
#define __NOT_FOUND_EXCEPTION_H__
....
Upvotes: 0