Opened 2 years ago

Closed 2 years ago

#25276 closed defect (fixed)

Compilation fails: ‘tor_zstd_format_version’ [-Werror=unused-function]

Reported by: ffmancera Owned by:
Priority: Medium Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor Version:
Severity: Major Keywords:
Cc: 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 b56fd17d0003b0b66570a7d99aadbe901144f75d. Travis CI report here.

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by nickm

Milestone: Tor: 0.3.4.x-final
Resolution: fixed
Status: newclosed

Thanks! Should be fixed with 5a9ada342fb17a7c3ba69efbdd548ec278b0e070

Note: See TracTickets for help on using tickets.