Open elliottwilliams opened 7 years ago
I was building wamped in an environment where -Werror was set, and was affected by a few simple compiler warnings:
-Werror
unused-parameter
max_len_send
serializer_type
Wamp::loggedSend
#include <sys/errno.h>
#include <errno.h>
This change fixes these issues and allows for stricter compilation :)
I was building wamped in an environment where
-Werror
was set, and was affected by a few simple compiler warnings:unused-parameter
error when logging is disabledmax_len_send
andserializer_type
so that the expressions only evaluate when logging is enabledWamp::loggedSend
to not use its parameter when logging is disabled#include <sys/errno.h>
, it should just be#include <errno.h>
This change fixes these issues and allows for stricter compilation :)