Hello,

I was trying to compile the Dispatch Router to use Proton 0.16.0 however the 
compilation failed because it seems the code is not yet adapted to the newest 
version of Proton. Is there some work to make it work on this version of Proton?


The error seems to be related to 
https://github.com/apache/qpid-proton/commit/aadfcbbb7a7b75eb442df4d4de8ef97eb2e7a754


PS: As a workaround, I can disable this error but I prefer to check with you 
before doing so to make sure it has no impact (-Wno-error=switch).


Errors

---------------

container.c: In function 'pn_event_handler':
container.c:373:5: error: enumeration value 'PN_CONNECTION_WAKE' not handled in 
switch [-Werror=switch]
     switch (pn_event_type(event)) {
     ^
container.c:373:5: error: enumeration value 'PN_LISTENER_ACCEPT' not handled in 
switch [-Werror=switch]
container.c:373:5: error: enumeration value 'PN_LISTENER_CLOSE' not handled in 
switch [-Werror=switch]
container.c:373:5: error: enumeration value 'PN_PROACTOR_INTERRUPT' not handled 
in switch [-Werror=switch]
container.c:373:5: error: enumeration value 'PN_PROACTOR_TIMEOUT' not handled 
in switch [-Werror=switch]
container.c:373:5: error: enumeration value 'PN_PROACTOR_INACTIVE' not handled 
in switch [-Werror=switch]


Regards,

Adel

Reply via email to