You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Arch, ortp version 0.27.0-1, getting the following error while building:
rtp.c: In function 'rtp_init':
rtp.c:79:29: warning: passing argument 1 of 'ortp_set_log_level_mask' makes pointer from integer without a cast [-Wint-conversion]
ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR);
^~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:67:0,
from rtp.c:51:
/usr/include/ortp/logging.h:74:18: note: expected 'const char *' but argument is of type 'int'
ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int levelmask);
^~~~~~~~~~~~~~~~~~~~~~~
rtp.c:79:5: error: too few arguments to function 'ortp_set_log_level_mask'
ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:67:0,
from rtp.c:51:
/usr/include/ortp/logging.h:74:18: note: declared here
ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int levelmask);
^~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Running Arch, ortp version 0.27.0-1, getting the following error while building:
rtp.c: In function 'rtp_init':
rtp.c:79:29: warning: passing argument 1 of 'ortp_set_log_level_mask' makes pointer from integer without a cast [-Wint-conversion]
ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR);
^~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:67:0,
from rtp.c:51:
/usr/include/ortp/logging.h:74:18: note: expected 'const char *' but argument is of type 'int'
ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int levelmask);
^~~~~~~~~~~~~~~~~~~~~~~
rtp.c:79:5: error: too few arguments to function 'ortp_set_log_level_mask'
ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ortp/ortp.h:67:0,
from rtp.c:51:
/usr/include/ortp/logging.h:74:18: note: declared here
ORTP_PUBLIC void ortp_set_log_level_mask(const char *domain, int levelmask);
^~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: