Package: librelp-dev Version: 1.0.0-1 I see the following error when I try to compile my C++ program including the <librelp.h> header: /usr/include/librelp.h:54:14: error: use of enum ‘relpCmdEnaState_e’ without previous declaration /usr/include/librelp.h:54:49: error: invalid type in declaration before ‘;’ token
The reason is declaration of "typedef enum relpCmdEnaState_e relpCmdEnaState_t;" before the "enum relpCmdEnaState_e" defenition. Pure C allows this, but C++ does not. Just move the typedef down below the enum declaration, and problem is no more. Other code is fully C++-compatible, it can be compiled with g++ and works OK. Debian GNU/Linux 7 (wheezy).

