Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build trouble #46

Open
ben-kuhn opened this issue Nov 10, 2016 · 0 comments
Open

Build trouble #46

ben-kuhn opened this issue Nov 10, 2016 · 0 comments

Comments

@ben-kuhn
Copy link

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);
^~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant