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

xmlrpc: compiler warnings in trunk and 5.1 #1312

Closed
ovidiusas opened this issue Nov 13, 2017 · 1 comment
Closed

xmlrpc: compiler warnings in trunk and 5.1 #1312

ovidiusas opened this issue Nov 13, 2017 · 1 comment

Comments

@ovidiusas
Copy link
Contributor

CentOS Linux release 7.4.1708 (Core)

CC (gcc) [M xmlrpc.so]          xmlrpc.o
xmlrpc.c: In function 'set_fault':
xmlrpc.c:894:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
  vsnprintf(buf, REASON_BUF_LEN, fmt, ap);
  ^
xmlrpc.c: In function 'print_value':
xmlrpc.c:1024:4: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
    body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
    ^
xmlrpc.c:1024:15: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
    body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
               ^
miconda added a commit that referenced this issue Nov 25, 2017
- needed for snprintf() and variants
- reported by GH #1312
@miconda
Copy link
Member

miconda commented Nov 25, 2017

Thanks, reopen if still an issue.

@miconda miconda closed this as completed Nov 25, 2017
ovidiusas added a commit that referenced this issue Nov 25, 2017
- needed for snprintf() and variants
- reported by GH #1312

(cherry picked from commit 6e680c7)
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

2 participants