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

FreeBSD compilation warnings #6

Closed
benrubson opened this issue Dec 9, 2015 · 0 comments
Closed

FreeBSD compilation warnings #6

benrubson opened this issue Dec 9, 2015 · 0 comments

Comments

@benrubson
Copy link

Hello,

I get these warnings compiling the module under FreeBSD 10.2 / Apache 2.4.16_1.

# make
/usr/local/sbin/apxs -lmemcache -L/usr/local/lib/  -c mod_auth_memcookie.c
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing    -I/usr/local/include/apache24  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db5  -c -o mod_auth_memcookie.lo mod_auth_memcookie.c && touch mod_auth_memcookie.slo
mod_auth_memcookie.c:266:54: warning: missing sentinel in function call [-Wsentinel]
    szMyGroups=apr_pstrcat(r->pool,":",szGroups,":",0);
                                                     ^
                                                     , NULL
/usr/local/include/apr-1/apr_strings.h:147:28: note: function has been explicitly marked sentinel here
APR_DECLARE_NONSTD(char *) apr_pstrcat(apr_pool_t *p, ...)
                           ^
mod_auth_memcookie.c:267:52: warning: missing sentinel in function call [-Wsentinel]
    szMyGroup=apr_pstrcat(r->pool,":",szGroup,":",0);
                                                   ^
                                                   , NULL
/usr/local/include/apr-1/apr_strings.h:147:28: note: function has been explicitly marked sentinel here
APR_DECLARE_NONSTD(char *) apr_pstrcat(apr_pool_t *p, ...)
                           ^
2 warnings generated.
/usr/local/share/apr/build-1/libtool --silent --mode=link cc -L/usr/lib -fstack-protector   -o mod_auth_memcookie.la  -L/usr/local/lib/ -lmemcache -rpath /usr/local/libexec/apache24 -module -avoid-version    mod_auth_memcookie.lo

Could they be corrected ?

Thank you !

Ben

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