Snippets for sox 14.4.2.20210509 from FreeBSD 151arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/sox/14.4.2.20210509_7/151arm64-default.log.
-
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] 41 | #warning "this file includes <sys/timeb.h> which is deprecated" | ^ -
chorus.c:262:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 262 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
chorus.c:299:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 299 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
echo.c:191:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 191 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
echo.c:225:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 225 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
echos.c:186:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 186 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
echos.c:226:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 226 | out = SOX_24BIT_CLIP_COUNT((sox_sample_t) d_out, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stats.c:163:77: warning: variable 'sigma_x' set but not used [-Wunused-but-set-variable] 163 | double min_runs = 0, max_count = 0, min = 2, max = -2, max_sigma_x = 0, sigma_x = 0, sigma_x2 = 0, min_sigma_x2 = 2, max_sigma_x2 = 0, avg_peak = 0; | ^ -
stretch.c:244:9: warning: implicit conversion from 'sox_sample_t' (aka 'int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 244 | SOX_SAMPLE_CLIP_COUNT(f, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
stretch.c:292:5: warning: implicit conversion from 'sox_sample_t' (aka 'int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 292 | SOX_SAMPLE_CLIP_COUNT(f, effp->clips); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
vad.c:238:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 238 | if (hasTriggered |= c->meanMeas >= p->triggerLevel) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
spectrogram.c:763:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 763 | *prefix = "pnum-kMGTPE" + prefix_num + (prefix_num? 4 : 11); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ -
au.c:146:38: warning: implicit conversion from enumeration type 'sox_bool' (aka 'enum sox_bool') to different enumeration type 'sox_option_t' (aka 'enum sox_option_t') [-Wenum-conversion] 146 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ~ ~~~~~~^~~~~~~~~~~~~ -
sf.c:88:38: warning: implicit conversion from enumeration type 'sox_bool' (aka 'enum sox_bool') to different enumeration type 'sox_option_t' (aka 'enum sox_option_t') [-Wenum-conversion] 88 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ~ ~~~~~~^~~~~~~~~~~~~ -
ao.c:100:52: warning: implicit conversion from enumeration type 'sox_option_t' (aka 'enum sox_option_t') to different enumeration type 'sox_bool' (aka 'enum sox_bool') [-Wenum-conversion] 100 | sox_sw_write_buf(ao->buf, buf, len, ft->encoding.reverse_bytes, | ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~