Snippets for aften 0.0.8 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/mvdwm2plsxdglmi649amx3p3ls08ncj0-aften-0.0.8.drv.
-
/build/aften-0.0.8/libaften/cpu_caps.h:29:67: warning: unused parameter 'simd_instructions' [-Wunused-parameter] 29 | static inline void apply_simd_restrictions(AftenSimdInstructions *simd_instructions){} | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/build/aften-0.0.8/libaften/a52enc.c:375:25: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 375 | ctx = calloc(sizeof(A52Context), 1); | ^~~~~~~~~~ -
/build/aften-0.0.8/libaften/a52enc.c:508:26: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 508 | tctx = calloc(sizeof(A52ThreadContext), ctx->n_threads); | ^~~~~~~~~~~~~~~~ -
/build/aften-0.0.8/libaften/threading.h:60:36: warning: cast between incompatible function types from 'int (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 60 | pthread_create(threadid, NULL, (void *(*) (void *))threadfunc, threadparam) | ^ -
/build/aften-0.0.8/libaften/exponent_common.c:220:22: warning: cast from function call of type 'float' to non-matching type 'unsigned int' [-Wbad-function-cast] 220 | v1 = (uint32_t)AFT_FABS(block->mdct_coef[ch][j ] * FCONST(16777216.0)); | ^ -
/build/aften-0.0.8/libaften/exponent_common.c:221:22: warning: cast from function call of type 'float' to non-matching type 'unsigned int' [-Wbad-function-cast] 221 | v2 = (uint32_t)AFT_FABS(block->mdct_coef[ch][j+1] * FCONST(16777216.0)); | ^ -
/build/aften-0.0.8/libaften/exponent.c:145:23: warning: 'exp1' may be used uninitialized [-Wmaybe-uninitialized] 145 | exp1[0] = MIN(exp1[0], exp[0]+2);
-
/build/aften-0.0.8/pcm/pcm.c:80:1: warning: conflicting types for 'pcmfile_init' due to enum/integer mismatch; have 'int(PcmFile *, FILE *, enum PcmSampleFormat, int)' [-Wenum-int-mismatch] 80 | pcmfile_init(PcmFile *pf, FILE *fp, enum PcmSampleFormat read_format, | ^~~~~~~~~~~~