You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Scott <te...@msxc.com> on 2017/08/07 13:37:26 UTC

Re: SA 3.4.1 for Centos 7?

spamassassin-3.4.1-14.fc27.src.rpm is available now.

When trying to rebuild that src (or the one you mentioned earlier) for my
Centos7 box I get these warnings:

Is this OK?  Is there a fix?


spamc/libspamc.c: In function '_try_to_connect_tcp':
spamc/libspamc.c:490:19: warning: variable 'family' set but not used
[-Wunused-but-set-variable]
             char *family = NULL;
                   ^
spamc/libspamc.c: In function 'message_filter':
spamc/libspamc.c:1217:11: warning: assignment discards 'const' qualifier
from pointer target type [enabled by default]
      meth = TLSv1_client_method();
           ^
spamc/libspamc.c:1219:11: warning: assignment discards 'const' qualifier
from pointer target type [enabled by default]
      meth = SSLv3_client_method(); /* default */
           ^
spamc/libspamc.c: In function 'message_tell':
spamc/libspamc.c:1607:7: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default]
  meth = SSLv3_client_method();
       ^
spamc/libspamc.c: In function 'transport_setup':
spamc/libspamc.c:1914:35: warning: unused variable 'addrp'
[-Wunused-variable]
     struct addrinfo hints, *res, *addrp;
                                   ^
spamc/libspamc.c: In function 'libspamc_log':
spamc/libspamc.c:2242:9: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
         (void) write (2, buf, len);
         ^







--
View this message in context: http://spamassassin.1065346.n5.nabble.com/SA-3-4-1-for-Centos-7-tp136474p137981.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: SA 3.4.1 for Centos 7?

Posted by David Jones <dj...@ena.com>.
On 08/07/2017 08:37 AM, Scott wrote:
> spamassassin-3.4.1-14.fc27.src.rpm is available now.
> 
> When trying to rebuild that src (or the one you mentioned earlier) for my
> Centos7 box I get these warnings:
> 
> Is this OK?  Is there a fix?
> 
> 
> spamc/libspamc.c: In function '_try_to_connect_tcp':
> spamc/libspamc.c:490:19: warning: variable 'family' set but not used
> [-Wunused-but-set-variable]
>               char *family = NULL;
>                     ^
> spamc/libspamc.c: In function 'message_filter':
> spamc/libspamc.c:1217:11: warning: assignment discards 'const' qualifier
> from pointer target type [enabled by default]
>        meth = TLSv1_client_method();
>             ^
> spamc/libspamc.c:1219:11: warning: assignment discards 'const' qualifier
> from pointer target type [enabled by default]
>        meth = SSLv3_client_method(); /* default */
>             ^
> spamc/libspamc.c: In function 'message_tell':
> spamc/libspamc.c:1607:7: warning: assignment discards 'const' qualifier from
> pointer target type [enabled by default]
>    meth = SSLv3_client_method();
>         ^
> spamc/libspamc.c: In function 'transport_setup':
> spamc/libspamc.c:1914:35: warning: unused variable 'addrp'
> [-Wunused-variable]
>       struct addrinfo hints, *res, *addrp;
>                                     ^
> spamc/libspamc.c: In function 'libspamc_log':
> spamc/libspamc.c:2242:9: warning: ignoring return value of 'write', declared
> with attribute warn_unused_result [-Wunused-result]
>           (void) write (2, buf, len);
>           ^

I get this too and it still builds fine and works properly.  These are 
only warnings.

-- 
David Jones