diff --git a/examples/normSocket.h b/examples/normSocket.h index 763e2c2..20cbfda 100644 --- a/examples/normSocket.h +++ b/examples/normSocket.h @@ -114,7 +114,9 @@ typedef enum NormSocketEventType NORM_SOCKET_CLOSING, // indicates remote endpoint is closing socket (only read data at this point) NORM_SOCKET_CLOSE // indicates socket is now closed (invalid for further operations) } NormSocketEventType; - + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpedantic" typedef struct { NormSocketEventType type; @@ -134,6 +136,7 @@ typedef struct }; }; } NormSocketEvent; +#pragma GCC diagnostic pop bool NormGetSocketEvent(NormInstanceHandle normInstance, NormSocketEvent* event, bool waitForEvent = true); diff --git a/include/normSession.h b/include/normSession.h index 6208e8e..e62cab5 100644 --- a/include/normSession.h +++ b/include/normSession.h @@ -59,7 +59,7 @@ class NormController SEND_ERROR, USER_TIMEOUT, // The ones below here are not exposed via the NORM API - SEND_OK, + SEND_OK }; virtual void Notify(NormController::Event event,