[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #25276 [Core Tor/Tor]: Compilation fails: ‘tor_zstd_format_version’ [-Werror=unused-function]



#25276: Compilation fails: ‘tor_zstd_format_version’ [-Werror=unused-function]
------------------------------+--------------------
     Reporter:  ffmancera     |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Major         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 I am getting this error when compiling a clear version of master branch.

 {{{
   CC       src/common/src_common_libor_crypto_testing_a-crypto.o
 src/common/compress_zstd.c:63:1: error: ‘tor_zstd_format_version’ defined
 but not used [-Werror=unused-function]
  tor_zstd_format_version(char *buf, size_t buflen, unsigned
 version_number)
  ^~~~~~~~~~~~~~~~~~~~~~~
 cc1: all warnings being treated as errors
 make[1]: *** [Makefile:5893: src/common/src_common_libor_crypto_testing_a-
 compress_zstd.o] Error 1
 }}}
 The error seems to come from commit
 [https://gitweb.torproject.org/tor.git/commit/?id=b56fd17d0003b0b66570a7d99aadbe901144f75d
 b56fd17d0003b0b66570a7d99aadbe901144f75d]. Travis CI report [https
 ://travis-
 ci.org/torproject/tor/builds/342171373?utm_source=github_status&utm_medium=notification
 here].

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25276>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs