libwebsockets - Warnings as error #2002
Closed
jvasanthan
started this conversation in
General
Replies: 1 comment
-
added -DDISABLE_WERROR=1 flag in libwebsockets-CMakeLists.txt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am cross compiling the sdk and I get the following warnings as error. How to resolve the following error,
amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libwebsockets/build/src/project_libwebsockets/lib/plat/unix/unix-sockets.c:438:10: error: conversion to 'short unsigned int' from 'unsigned int' may alter its value [-Werror=conversion]
ucs += ntohs(*p16++);
error: conversion to 'short unsigned int' from 'unsigned int' may alter its value [-Werror=conversion]
sll.sll_protocol = htons(0x800);
^~~~~
Beta Was this translation helpful? Give feedback.
All reactions