Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 649896

Summary: net-libs/loudmouth-1.5.3 - lm-sasl.c:532:32: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info output

Description Anton Kochkov 2018-03-08 05:05:14 UTC
Created attachment 522926 [details]
build.log

[01m[Klm-sasl.c:[m[K In function ‘[01m[Ksasl_md5_prepare_response[m[K’:
[01m[Klm-sasl.c:532:32:[m[K [01;31m[Kerror: [m[Kcomparison between pointer and zero character constant [[01;31m[K-Werror=pointer-compare[m[K]
     if (nonce == NULL || nonce [01;31m[K==[m[K '\0') {
                                [01;31m[K^~[m[K
[01m[Klm-sasl.c:532:26:[m[K [01;36m[Knote: [m[Kdid you mean to dereference the pointer?
     if (nonce == NULL || [01;36m[Kn[m[Konce == '\0') {
                          [01;36m[K^[m[K
Comment 1 Anton Kochkov 2018-03-08 05:05:27 UTC
Created attachment 522928 [details]
emerge --info output
Comment 2 Pacho Ramos gentoo-dev 2018-04-03 10:29:49 UTC

*** This bug has been marked as a duplicate of bug 618330 ***