I am unable to use libhid with a c++ application since hid.h redefines bool.

On lines around line 20 there is a macro
#define bool _Bool
#define true  1
#define false 0

It is not legal to redefine reserved words.

Has anyone else attempted to use libhid in a C++ application, and if so, what did you do to get around this?

Thanks,
Donald Kayser

_______________________________________________
libhid-discuss mailing list
libhid-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to