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
make[2]: Entering directory '/builddir/build/BUILD/sympa-6.2.19b.1/src/smtpc'
CC smtpc.o
CC sockstr.o
smtpc.c: In function 'parse_options':
smtpc.c:229:28: warning: comparison between pointer and zero character constant [-Wpointer-compare]
if (*p == ':' && ++p != '\0')
^~
smtpc.c:229:24: note: did you mean to dereference the pointer?
if (*p == ':' && ++p != '\0')
^~
smtpc.c:272:28: warning: comparison between pointer and zero character constant [-Wpointer-compare]
if (*p == ':' && ++p != '\0')
^~
smtpc.c:272:24: note: did you mean to dereference the pointer?
if (*p == ':' && ++p != '\0')
^~
This is with sympa 6.2.19 beta1 but the warnings were already in 6.2.18.
Also, in 6.2.19 beta 1, smtpc is not installed anymore to libexecdir but to bindir. Is that expected ?
Regards,
Xavier
The text was updated successfully, but these errors were encountered:
ikedas
added a commit
to ikedas/sympa
that referenced
this issue
Sep 5, 2017
Hi,
gcc is reporting warnings while building smtpc:
make[2]: Entering directory '/builddir/build/BUILD/sympa-6.2.19b.1/src/smtpc'
CC smtpc.o
CC sockstr.o
smtpc.c: In function 'parse_options':
smtpc.c:229:28: warning: comparison between pointer and zero character constant [-Wpointer-compare]
if (*p == ':' && ++p != '\0')
^~
smtpc.c:229:24: note: did you mean to dereference the pointer?
if (*p == ':' && ++p != '\0')
^~
smtpc.c:272:28: warning: comparison between pointer and zero character constant [-Wpointer-compare]
if (*p == ':' && ++p != '\0')
^~
smtpc.c:272:24: note: did you mean to dereference the pointer?
if (*p == ':' && ++p != '\0')
^~
This is with sympa 6.2.19 beta1 but the warnings were already in 6.2.18.
Also, in 6.2.19 beta 1, smtpc is not installed anymore to libexecdir but to bindir. Is that expected ?
Regards,
Xavier
The text was updated successfully, but these errors were encountered: