+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sox-14.4.2nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sox-14.4.2nb8/work.log ===> Building for sox-14.4.2nb8 --- all-recursive --- Making all in lpc10 --- analys.lo --- --- bsynz.lo --- --- chanwr.lo --- --- dcbias.lo --- --- analys.lo --- CC analys.lo --- bsynz.lo --- CC bsynz.lo --- chanwr.lo --- CC chanwr.lo --- dcbias.lo --- CC dcbias.lo --- decode.lo --- CC decode.lo --- deemp.lo --- CC deemp.lo --- difmag.lo --- CC difmag.lo --- dyptrk.lo --- CC dyptrk.lo --- encode.lo --- CC encode.lo --- energy.lo --- CC energy.lo --- f2clib.lo --- CC f2clib.lo --- ham84.lo --- CC ham84.lo --- hp100.lo --- CC hp100.lo --- invert.lo --- CC invert.lo --- irc2pc.lo --- CC irc2pc.lo --- ivfilt.lo --- CC ivfilt.lo --- lpcdec.lo --- CC lpcdec.lo --- lpcenc.lo --- CC lpcenc.lo --- lpcini.lo --- CC lpcini.lo --- lpfilt.lo --- CC lpfilt.lo --- median.lo --- CC median.lo --- mload.lo --- CC mload.lo --- onset.lo --- CC onset.lo --- pitsyn.lo --- CC pitsyn.lo --- placea.lo --- CC placea.lo --- placev.lo --- CC placev.lo --- preemp.lo --- CC preemp.lo --- prepro.lo --- CC prepro.lo --- random.lo --- CC random.lo --- rcchk.lo --- CC rcchk.lo --- synths.lo --- CC synths.lo --- tbdm.lo --- CC tbdm.lo --- voicin.lo --- CC voicin.lo --- vparms.lo --- CC vparms.lo --- liblpc10.la --- CCLD liblpc10.la Making all in libgsm Making all in src --- sox.o --- --- libsox_la-adpcms.lo --- --- libsox_la-aiff.lo --- --- libsox_la-cvsd.lo --- --- sox.o --- CC sox.o --- libsox_la-adpcms.lo --- CC libsox_la-adpcms.lo --- libsox_la-aiff.lo --- CC libsox_la-aiff.lo --- libsox_la-cvsd.lo --- CC libsox_la-cvsd.lo --- sox.o --- In file included from util.h:32, from sox.c:26: sox.c: In function 'try_device': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ sox.c:2549:16: note: in expansion of macro 'lsx_calloc' 2549 | ft->priv = lsx_calloc(1, handler->priv_size); | ^~~~~~~~~~ --- libsox_la-g711.lo --- CC libsox_la-g711.lo --- sox.o --- sox.c: In function 'update_status': sox.c:1248:23: warning: '%u' directive writing between 1 and 9 bytes into a region of size 7 [-Wformat-overflow=] 1248 | sprintf(buff, "Hd:%u.%u", h /10, h % 10); | ^~ In function 'headroom', inlined from 'display_status' at sox.c:1268:5, inlined from 'update_status' at sox.c:1397:3: sox.c:1248:19: note: directive argument in the range [0, 429496729] 1248 | sprintf(buff, "Hd:%u.%u", h /10, h % 10); | ^~~~~~~~~~ sox.c:1248:19: note: directive argument in the range [0, 9] sox.c:1248:5: note: 'sprintf' output between 7 and 15 bytes into a destination of size 10 1248 | sprintf(buff, "Hd:%u.%u", h /10, h % 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libsox_la-g721.lo --- CC libsox_la-g721.lo --- libsox_la-g723_24.lo --- CC libsox_la-g723_24.lo --- libsox_la-g723_40.lo --- CC libsox_la-g723_40.lo --- libsox_la-g72x.lo --- CC libsox_la-g72x.lo --- libsox_la-vox.lo --- CC libsox_la-vox.lo --- libsox_la-raw.lo --- CC libsox_la-raw.lo --- libsox_la-formats.lo --- CC libsox_la-formats.lo In file included from util.h:32, from sox_i.h:27, from formats.c:21: formats.c: In function 'lsx_cat_comments': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ formats.c:278:12: note: in expansion of macro 'lsx_calloc' 278 | result = lsx_calloc(len? len : 1, sizeof(*result)); | ^~~~~~~~~~ formats.c: In function 'open_read': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ formats.c:548:14: note: in expansion of macro 'lsx_calloc' 548 | ft->priv = lsx_calloc(1, ft->handler.priv_size); | ^~~~~~~~~~ formats.c: In function 'open_write': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ formats.c:915:14: note: in expansion of macro 'lsx_calloc' 915 | ft->priv = lsx_calloc(1, ft->handler.priv_size); | ^~~~~~~~~~ --- libsox_la-formats_i.lo --- CC libsox_la-formats_i.lo --- libsox_la-skelform.lo --- CC libsox_la-skelform.lo --- libsox_la-xmalloc.lo --- CC libsox_la-xmalloc.lo --- libsox_la-getopt.lo --- CC libsox_la-getopt.lo --- libsox_la-util.lo --- CC libsox_la-util.lo util.c: In function 'lsx_sigfigs3': util.c:124:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 124 | case 2: if (b) return string[n]; /* Can fall through */ | ^ util.c:125:5: note: here 125 | case 1: c = 2; break; | ^~~~ --- libsox_la-libsox.lo --- CC libsox_la-libsox.lo --- libsox_la-libsox_i.lo --- CC libsox_la-libsox_i.lo --- libsox_la-sox-fmt.lo --- CC libsox_la-sox-fmt.lo In file included from util.h:32, from sox_i.h:27, from sox-fmt.c:18: sox-fmt.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ sox-fmt.c:56:18: note: in expansion of macro 'lsx_calloc' 56 | char * buf = lsx_calloc(1, (size_t)comments_bytes + 1); /* ensure nul-terminated */ | ^~~~~~~~~~ --- libsox_la-bend.lo --- CC libsox_la-bend.lo --- libsox_la-biquad.lo --- CC libsox_la-biquad.lo --- libsox_la-biquads.lo --- CC libsox_la-biquads.lo --- libsox_la-chorus.lo --- CC libsox_la-chorus.lo --- libsox_la-bend.lo --- In file included from util.h:32, from sox_i.h:27, from bend.c:35: bend.c: In function 'create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ bend.c:134:14: note: in expansion of macro 'lsx_calloc' 134 | p->bends = lsx_calloc(p->nbends, sizeof(*p->bends)); | ^~~~~~~~~~ --- libsox_la-compand.lo --- --- libsox_la-compandt.lo --- --- libsox_la-compand.lo --- CC libsox_la-compand.lo --- libsox_la-compandt.lo --- CC libsox_la-compandt.lo --- libsox_la-compand.lo --- In file included from util.h:32, from sox_i.h:27, from compand.c:13: compand.c: In function 'getopts': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ compand.c:89:17: note: in expansion of macro 'lsx_calloc' 89 | l->channels = lsx_calloc(pairs, sizeof(*l->channels)); | ^~~~~~~~~~ compand.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ compand.c:162:20: note: in expansion of macro 'lsx_calloc' 162 | l->delay_buf = lsx_calloc((size_t)l->delay_buf_size, sizeof(*l->delay_buf)); | ^~~~~~~~~~ --- libsox_la-contrast.lo --- CC libsox_la-contrast.lo --- libsox_la-dcshift.lo --- CC libsox_la-dcshift.lo --- libsox_la-compandt.lo --- In file included from util.h:32, from sox_i.h:27, from compandt.c:18: compandt.c: In function 'lsx_compandt_parse': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ compandt.c:176:17: note: in expansion of macro 'lsx_calloc' 176 | t->segments = lsx_calloc(pairs, sizeof(*t->segments)); | ^~~~~~~~~~ --- libsox_la-delay.lo --- CC libsox_la-delay.lo --- libsox_la-dft_filter.lo --- CC libsox_la-dft_filter.lo --- libsox_la-delay.lo --- In file included from util.h:32, from sox_i.h:27, from delay.c:18: delay.c: In function 'create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ delay.c:50:13: note: in expansion of macro 'lsx_calloc' 50 | p->args = lsx_calloc(p->argc, sizeof(*p->args)); | ^~~~~~~~~~ --- libsox_la-dither.lo --- CC libsox_la-dither.lo --- libsox_la-dft_filter.lo --- In file included from util.h:32, from sox_i.h:27, from dft_filter.c:18: dft_filter.c: In function 'lsx_set_dft_filter': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ dft_filter.c:32:14: note: in expansion of macro 'lsx_calloc' 32 | f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); | ^~~~~~~~~~ --- libsox_la-divide.lo --- CC libsox_la-divide.lo --- libsox_la-dither.lo --- In file included from dither.c:272: dither.h: In function 'flow_iir_4': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ In file included from dither.c:277: dither.h: In function 'flow_fir_5': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ In file included from dither.c:281: dither.h: In function 'flow_fir_9': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ In file included from dither.c:285: dither.h: In function 'flow_fir_15': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ In file included from dither.c:289: dither.h: In function 'flow_fir_16': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ In file included from dither.c:293: dither.h: In function 'flow_fir_20': dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value] 47 | if (i < (-1 << (p->prec-1))) | ^~ dither.c: In function 'flow_no_shape': dither.c:319:20: warning: left shift of negative value [-Wshift-negative-value] 319 | if (i <= (-1 << (p->prec-1))) | ^~ --- libsox_la-divide.lo --- In file included from util.h:32, from sox_i.h:27, from divide.c:23: divide.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ divide.c:33:13: note: in expansion of macro 'lsx_calloc' 33 | p->last = lsx_calloc(effp->in_signal.channels, sizeof(*p->last)); | ^~~~~~~~~~ --- libsox_la-downsample.lo --- CC libsox_la-downsample.lo --- libsox_la-earwax.lo --- CC libsox_la-earwax.lo --- libsox_la-echo.lo --- CC libsox_la-echo.lo --- libsox_la-echos.lo --- CC libsox_la-echos.lo --- libsox_la-effects.lo --- CC libsox_la-effects.lo --- libsox_la-effects_i.lo --- CC libsox_la-effects_i.lo --- libsox_la-effects.lo --- In file included from util.h:32, from sox_i.h:27, from effects.c:19: effects.c: In function 'sox_create_effect': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ effects.c:72:16: note: in expansion of macro 'lsx_calloc' 72 | effp->priv = lsx_calloc(1, effp->handler.priv_size); | ^~~~~~~~~~ effects.c: In function 'sox_add_effect': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ effects.c:195:5: note: in expansion of macro 'lsx_calloc' 195 | lsx_calloc(effp->flows, sizeof(chain->effects[chain->length][0])); | ^~~~~~~~~~ --- libsox_la-effects_i_dsp.lo --- CC libsox_la-effects_i_dsp.lo --- libsox_la-fade.lo --- CC libsox_la-fade.lo --- libsox_la-effects_i_dsp.lo --- In file included from util.h:32, from sox_i.h:27, from effects_i_dsp.c:25: effects_i_dsp.c: In function 'lsx_fir_to_phase': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ effects_i_dsp.c:427:10: note: in expansion of macro 'lsx_calloc' 427 | work = lsx_calloc((size_t)work_len + 2, sizeof(*work)); /* +2: (UN)PACK */ | ^~~~~~~~~~ effects_i_dsp.c: In function 'lsx_plot_fir': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ effects_i_dsp.c:515:19: note: in expansion of macro 'lsx_calloc' 515 | double * h1 = lsx_calloc(N, sizeof(*h1)); | ^~~~~~~~~~ effects_i_dsp.c: At top level: effects_i_dsp.c:583: warning: ignoring '#pragma STDC FENV_ACCESS' [-Wunknown-pragmas] 583 | #pragma STDC FENV_ACCESS ON effects_i_dsp.c: In function 'lsx_save_samples': effects_i_dsp.c:582:41: warning: right-hand operand of comma expression has no effect [-Wunused-value] 582 | #define _ dest[i] = lrint32(src[i]), ++i, | ^ effects_i_dsp.c:604:19: note: in expansion of macro '_' 604 | _ _ _ _ _ _ _ _ 0; | ^ effects_i_dsp.c: At top level: effects_i_dsp.c:621: warning: ignoring '#pragma STDC FENV_ACCESS' [-Wunknown-pragmas] 621 | #pragma STDC FENV_ACCESS OFF --- libsox_la-fft4g.lo --- CC libsox_la-fft4g.lo --- libsox_la-fir.lo --- CC libsox_la-fir.lo --- libsox_la-firfit.lo --- CC libsox_la-firfit.lo In file included from util.h:32, from sox_i.h:27, from firfit.c:23: firfit.c: In function 'make_filter': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ firfit.c:62:10: note: in expansion of macro 'lsx_calloc' 62 | work = lsx_calloc(work_len + 2, sizeof(*work)); | ^~~~~~~~~~ --- libsox_la-flanger.lo --- CC libsox_la-flanger.lo In file included from util.h:32, from sox_i.h:27, from flanger.c:20: flanger.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ flanger.c:143:24: note: in expansion of macro 'lsx_calloc' 143 | f->delay_bufs[c] = lsx_calloc(f->delay_buf_length, sizeof(*f->delay_bufs[0])); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ flanger.c:147:12: note: in expansion of macro 'lsx_calloc' 147 | f->lfo = lsx_calloc(f->lfo_length, sizeof(*f->lfo)); | ^~~~~~~~~~ --- libsox_la-gain.lo --- CC libsox_la-gain.lo --- libsox_la-hilbert.lo --- CC libsox_la-hilbert.lo --- libsox_la-input.lo --- CC libsox_la-input.lo --- libsox_la-ladspa.lo --- CC libsox_la-ladspa.lo --- libsox_la-loudness.lo --- CC libsox_la-loudness.lo In file included from util.h:32, from sox_i.h:27, from loudness.c:18: loudness.c: In function 'make_filter': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ loudness.c:78:10: note: in expansion of macro 'lsx_calloc' 78 | work = lsx_calloc(work_len, sizeof(*work)); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ loudness.c:79:7: note: in expansion of macro 'lsx_calloc' 79 | h = lsx_calloc(n, sizeof(*h)); | ^~~~~~~~~~ --- libsox_la-mcompand.lo --- CC libsox_la-mcompand.lo --- libsox_la-noiseprof.lo --- CC libsox_la-noiseprof.lo --- libsox_la-mcompand.lo --- In file included from util.h:32, from sox_i.h:27, from mcompand.c:45: mcompand_xover.h: In function 'crossover_setup': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ mcompand_xover.h:66:17: note: in expansion of macro 'lsx_calloc' 66 | p->previous = lsx_calloc(effp->in_signal.channels, sizeof(*p->previous)); | ^~~~~~~~~~ --- libsox_la-noiseprof.lo --- In file included from util.h:32, from sox_i.h:27, from noisered.h:21, from noiseprof.c:21: noiseprof.c: In function 'sox_noiseprof_start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ noiseprof.c:83:20: note: in expansion of macro 'lsx_calloc' 83 | data->chandata = lsx_calloc(channels, sizeof(*(data->chandata))); | ^~~~~~~~~~ --- libsox_la-mcompand.lo --- mcompand.c: In function 'getopts': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ mcompand.c:184:14: note: in expansion of macro 'lsx_calloc' 184 | c->bands = lsx_calloc(c->nBands, sizeof(comp_band_t)); | ^~~~~~~~~~ mcompand.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ mcompand.c:249:22: note: in expansion of macro 'lsx_calloc' 249 | l->delay_buf = lsx_calloc(sizeof(long), c->delay_buf_size); | ^~~~~~~~~~ --- libsox_la-noisered.lo --- CC libsox_la-noisered.lo --- libsox_la-output.lo --- CC libsox_la-output.lo --- libsox_la-noisered.lo --- In file included from util.h:32, from sox_i.h:27, from noisered.h:21, from noisered.c:11: noisered.c: In function 'sox_noisered_start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ noisered.c:94:22: note: in expansion of macro 'lsx_calloc' 94 | data->chandata = lsx_calloc(channels, sizeof(*(data->chandata))); | ^~~~~~~~~~ --- libsox_la-overdrive.lo --- CC libsox_la-overdrive.lo --- libsox_la-pad.lo --- CC libsox_la-pad.lo In file included from util.h:32, from sox_i.h:27, from pad.c:18: pad.c: In function 'create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ pad.c:78:13: note: in expansion of macro 'lsx_calloc' 78 | p->pads = lsx_calloc(p->npads, sizeof(*p->pads)); | ^~~~~~~~~~ --- libsox_la-phaser.lo --- CC libsox_la-phaser.lo --- libsox_la-rate.lo --- CC libsox_la-rate.lo --- libsox_la-remix.lo --- CC libsox_la-remix.lo --- libsox_la-rate.lo --- In file included from util.h:32, from sox_i.h:27, from rate.c:27: rate.c: In function 'dft_stage_init': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ rate.c:33:20: note: in expansion of macro 'lsx_calloc' 33 | #define calloc lsx_calloc | ^~~~~~~~~~ rate.c:232:16: note: in expansion of macro 'calloc' 232 | f->coefs = calloc(dft_length, sizeof(*f->coefs)); | ^~~~~~ --- libsox_la-phaser.lo --- In file included from util.h:32, from sox_i.h:27, from phaser.c:44: phaser.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ phaser.c:99:18: note: in expansion of macro 'lsx_calloc' 99 | p->delay_buf = lsx_calloc(p->delay_buf_len, sizeof(*p->delay_buf)); | ^~~~~~~~~~ --- libsox_la-rate.lo --- rate.c: In function 'rate_init': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ rate.c:33:20: note: in expansion of macro 'lsx_calloc' 33 | #define calloc lsx_calloc | ^~~~~~~~~~ rate.c:340:15: note: in expansion of macro 'calloc' 340 | p->stages = calloc(p->num_stages + 1, sizeof(*p->stages)); | ^~~~~~ --- libsox_la-remix.lo --- In file included from util.h:32, from sox_i.h:27, from remix.c:18: remix.c: In function 'create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ remix.c:125:18: note: in expansion of macro 'lsx_calloc' 125 | p->out_specs = lsx_calloc(p->num_out_channels, sizeof(*p->out_specs)); | ^~~~~~~~~~ remix.c: In function 'channels_start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ remix.c:226:18: note: in expansion of macro 'lsx_calloc' 226 | p->out_specs = lsx_calloc(num_out_channels, sizeof(*p->out_specs)); | ^~~~~~~~~~ --- libsox_la-repeat.lo --- CC libsox_la-repeat.lo --- libsox_la-reverb.lo --- CC libsox_la-reverb.lo In file included from util.h:32, from sox_i.h:27, from reverb.c:20: reverb.c: In function 'filter_array_create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ reverb.c:23:34: note: in expansion of macro 'lsx_calloc' 23 | #define lsx_zalloc(var, n) var = lsx_calloc(n, sizeof(*var)) | ^~~~~~~~~~ reverb.c:72:18: note: in expansion of macro 'lsx_zalloc' 72 | pcomb->ptr = lsx_zalloc(pcomb->buffer, pcomb->size); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ reverb.c:23:34: note: in expansion of macro 'lsx_calloc' 23 | #define lsx_zalloc(var, n) var = lsx_calloc(n, sizeof(*var)) | ^~~~~~~~~~ reverb.c:78:21: note: in expansion of macro 'lsx_zalloc' 78 | pallpass->ptr = lsx_zalloc(pallpass->buffer, pallpass->size); | ^~~~~~~~~~ reverb.c: In function 'reverb_create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ reverb.c:23:34: note: in expansion of macro 'lsx_calloc' 23 | #define lsx_zalloc(var, n) var = lsx_calloc(n, sizeof(*var)) | ^~~~~~~~~~ reverb.c:144:14: note: in expansion of macro 'lsx_zalloc' 144 | out[i] = lsx_zalloc(p->out[i], buffer_size); | ^~~~~~~~~~ --- libsox_la-reverse.lo --- CC libsox_la-reverse.lo --- libsox_la-silence.lo --- CC libsox_la-silence.lo --- libsox_la-sinc.lo --- CC libsox_la-sinc.lo --- libsox_la-silence.lo --- silence.c: In function 'aboveThreshold': silence.c:280:43: warning: left shift of negative value [-Wshift-negative-value] 280 | sox_sample_t masked_value = value & (-1 << (32 - effp->in_signal.precision)); | ^~ --- libsox_la-skeleff.lo --- CC libsox_la-skeleff.lo --- libsox_la-speed.lo --- CC libsox_la-speed.lo --- libsox_la-splice.lo --- CC libsox_la-splice.lo In file included from util.h:32, from sox_i.h:27, from splice.c:18: splice.c: In function 'create': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ splice.c:177:16: note: in expansion of macro 'lsx_calloc' 177 | p->splices = lsx_calloc(p->nsplices, sizeof(*p->splices)); | ^~~~~~~~~~ splice.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ splice.c:187:15: note: in expansion of macro 'lsx_calloc' 187 | p->buffer = lsx_calloc(p->max_buffer_size * effp->in_signal.channels, sizeof(*p->buffer)); | ^~~~~~~~~~ --- libsox_la-stat.lo --- CC libsox_la-stat.lo --- libsox_la-stats.lo --- CC libsox_la-stats.lo --- libsox_la-stretch.lo --- CC libsox_la-stretch.lo --- libsox_la-swap.lo --- CC libsox_la-swap.lo --- libsox_la-synth.lo --- CC libsox_la-synth.lo --- libsox_la-tempo.lo --- CC libsox_la-tempo.lo --- libsox_la-tremolo.lo --- CC libsox_la-tremolo.lo --- libsox_la-tempo.lo --- In file included from util.h:32, from sox_i.h:27, from tempo.c:20: tempo.c: In function 'tempo_flush': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ tempo.c:153:18: note: in expansion of macro 'lsx_calloc' 153 | float * buff = lsx_calloc(128 * t->channels, sizeof(*buff)); | ^~~~~~~~~~ --- libsox_la-synth.lo --- In file included from util.h:32, from sox_i.h:27, from synth.c:30: synth.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ synth.c:339:17: note: in expansion of macro 'lsx_calloc' 339 | p->channels = lsx_calloc(p->number_of_channels, sizeof(*p->channels)); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ synth.c:376:22: note: in expansion of macro 'lsx_calloc' 376 | chan->buffer = lsx_calloc(chan->buffer_len, sizeof(*chan->buffer)); | ^~~~~~~~~~ --- libsox_la-trim.lo --- CC libsox_la-trim.lo In file included from util.h:32, from sox_i.h:27, from trim.c:23: trim.c: In function 'parse': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ trim.c:44:3: note: in expansion of macro 'lsx_Calloc' 44 | lsx_Calloc(p->pos, p->num_pos); | ^~~~~~~~~~ --- libsox_la-upsample.lo --- CC libsox_la-upsample.lo --- libsox_la-vad.lo --- CC libsox_la-vad.lo --- libsox_la-vol.lo --- CC libsox_la-vol.lo --- libsox_la-vad.lo --- In file included from util.h:32, from sox_i.h:27, from vad.c:18: vad.c: In function 'start': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:120:3: note: in expansion of macro 'lsx_Calloc' 120 | lsx_Calloc(p->samples, p->samplesLen_ns); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:122:3: note: in expansion of macro 'lsx_Calloc' 122 | lsx_Calloc(p->channels, effp->in_signal.channels); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:125:5: note: in expansion of macro 'lsx_Calloc' 125 | lsx_Calloc(c->dftBuf, p->dftLen_ws); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:126:5: note: in expansion of macro 'lsx_Calloc' 126 | lsx_Calloc(c->spectrum, p->dftLen_ws); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:127:5: note: in expansion of macro 'lsx_Calloc' 127 | lsx_Calloc(c->noiseSpectrum, p->dftLen_ws); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:128:5: note: in expansion of macro 'lsx_Calloc' 128 | lsx_Calloc(c->measures, p->measuresLen); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:131:3: note: in expansion of macro 'lsx_Calloc' 131 | lsx_Calloc(p->spectrumWindow, p->measureLen_ws); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' 28 | #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) | ^~~~~~~~~~ vad.c:141:3: note: in expansion of macro 'lsx_Calloc' 141 | lsx_Calloc(p->cepstrumWindow, p->spectrumEnd - p->spectrumStart); | ^~~~~~~~~~ --- libsox_la-spectrogram.lo --- CC libsox_la-spectrogram.lo --- libsox_la-raw-fmt.lo --- CC libsox_la-raw-fmt.lo --- libsox_la-spectrogram.lo --- spectrogram.c: In function 'rdft_p': spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value] 202 | #define _ re += in[i] * *q++, im += in[i++] * *q++, | ^ spectrogram.c:208:46: note: in expansion of macro '_' 208 | for (i = 0; i < (n & ~7);) _ _ _ _ _ _ _ _ 0; | ^ spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value] 202 | #define _ re += in[i] * *q++, im += in[i++] * *q++, | ^ spectrogram.c:209:19: note: in expansion of macro '_' 209 | while (i < n) _ 0; | ^ In file included from util.h:32, from sox_i.h:27, from spectrogram.c:22: spectrogram.c: In function 'drain': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ spectrogram.c:367:27: note: in expansion of macro 'lsx_calloc' 367 | sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ spectrogram.c:368:27: note: in expansion of macro 'lsx_calloc' 368 | sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); | ^~~~~~~~~~ --- libsox_la-s1-fmt.lo --- CC libsox_la-s1-fmt.lo --- libsox_la-s2-fmt.lo --- CC libsox_la-s2-fmt.lo --- libsox_la-s3-fmt.lo --- CC libsox_la-s3-fmt.lo --- libsox_la-s4-fmt.lo --- CC libsox_la-s4-fmt.lo --- libsox_la-u1-fmt.lo --- CC libsox_la-u1-fmt.lo --- libsox_la-u2-fmt.lo --- CC libsox_la-u2-fmt.lo --- libsox_la-u3-fmt.lo --- CC libsox_la-u3-fmt.lo --- libsox_la-u4-fmt.lo --- CC libsox_la-u4-fmt.lo --- libsox_la-al-fmt.lo --- CC libsox_la-al-fmt.lo --- libsox_la-la-fmt.lo --- CC libsox_la-la-fmt.lo --- libsox_la-ul-fmt.lo --- CC libsox_la-ul-fmt.lo --- libsox_la-lu-fmt.lo --- CC libsox_la-lu-fmt.lo --- libsox_la-8svx.lo --- CC libsox_la-8svx.lo --- libsox_la-aiff-fmt.lo --- CC libsox_la-aiff-fmt.lo --- libsox_la-aifc-fmt.lo --- CC libsox_la-aifc-fmt.lo --- libsox_la-au.lo --- CC libsox_la-au.lo --- libsox_la-avr.lo --- CC libsox_la-avr.lo --- libsox_la-cdr.lo --- CC libsox_la-cdr.lo --- libsox_la-cvsd-fmt.lo --- CC libsox_la-cvsd-fmt.lo --- libsox_la-au.lo --- au.c: In function 'startread': au.c:146:30: warning: implicit conversion from 'sox_bool' to 'sox_option_t' [-Wenum-conversion] 146 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ^ In file included from util.h:32, from sox_i.h:27, from au.c:19: xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ au.c:181:18: note: in expansion of macro 'lsx_calloc' 181 | char * buf = lsx_calloc(1, info_size + 1); /* +1 ensures null-terminated */ | ^~~~~~~~~~ --- libsox_la-dvms-fmt.lo --- CC libsox_la-dvms-fmt.lo --- libsox_la-dat.lo --- CC libsox_la-dat.lo --- libsox_la-hcom.lo --- CC libsox_la-hcom.lo --- libsox_la-htk.lo --- CC libsox_la-htk.lo --- libsox_la-maud.lo --- CC libsox_la-maud.lo --- libsox_la-prc.lo --- CC libsox_la-prc.lo --- libsox_la-sf.lo --- CC libsox_la-sf.lo --- libsox_la-smp.lo --- CC libsox_la-smp.lo --- libsox_la-sf.lo --- sf.c: In function 'startread': sf.c:88:30: warning: implicit conversion from 'sox_bool' to 'sox_option_t' [-Wenum-conversion] 88 | ft->encoding.reverse_bytes = id[i].reverse_bytes; | ^ In file included from util.h:32, from sox_i.h:27, from sf.c:20: xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ sf.c:101:20: note: in expansion of macro 'lsx_calloc' 101 | char * buf = lsx_calloc(1, (size_t)size + 1); /* +1 ensures null-terminated */ | ^~~~~~~~~~ --- libsox_la-sounder.lo --- CC libsox_la-sounder.lo --- libsox_la-soundtool.lo --- CC libsox_la-soundtool.lo --- libsox_la-sphere.lo --- CC libsox_la-sphere.lo --- libsox_la-tx16w.lo --- CC libsox_la-tx16w.lo --- libsox_la-voc.lo --- CC libsox_la-voc.lo --- libsox_la-vox-fmt.lo --- CC libsox_la-vox-fmt.lo --- libsox_la-tx16w.lo --- tx16w.c: In function 'stopwrite': tx16w.c:305:5: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 305 | strncpy(WH.filetype,"LM8953",(size_t)6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libsox_la-voc.lo --- voc.c: In function 'getblock': voc.c:651:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 651 | lsx_readb(ft, &uc); | ^~~~~~~~~~~~~~~~~~ voc.c:653:7: note: here 653 | case VOC_TEXT: | ^~~~ --- libsox_la-ima-fmt.lo --- CC libsox_la-ima-fmt.lo --- libsox_la-adpcm.lo --- CC libsox_la-adpcm.lo --- libsox_la-ima_rw.lo --- CC libsox_la-ima_rw.lo --- libsox_la-wav.lo --- CC libsox_la-wav.lo --- libsox_la-wve.lo --- CC libsox_la-wve.lo --- libsox_la-wav.lo --- wav.c: In function 'startwrite': wav.c:1264:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1264 | lsx_ima_init_table(); | ^~~~~~~~~~~~~~~~~~~~ wav.c:1266:9: note: here 1266 | case WAVE_FORMAT_ADPCM: | ^~~~ --- libsox_la-xa.lo --- CC libsox_la-xa.lo --- libsox_la-nulfile.lo --- CC libsox_la-nulfile.lo --- libsox_la-xa.lo --- In file included from util.h:32, from sox_i.h:27, from xa.c:23: xa.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xa.c:175:15: note: in expansion of macro 'lsx_calloc' 175 | xa->buf = lsx_calloc(1, (size_t)xa->blockSize); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ xa.c:178:17: note: in expansion of macro 'lsx_calloc' 178 | xa->state = lsx_calloc(sizeof(xa_state_t), ft->signal.channels); | ^~~~~~~~~~ --- libsox_la-f4-fmt.lo --- CC libsox_la-f4-fmt.lo --- libsox_la-f8-fmt.lo --- CC libsox_la-f8-fmt.lo --- libsox_la-gsrt.lo --- --- libsox_la-flac.lo --- --- libsox_la-gsrt.lo --- CC libsox_la-gsrt.lo --- libsox_la-flac.lo --- CC libsox_la-flac.lo --- libsox_la-gsm.lo --- CC libsox_la-gsm.lo --- libsox_la-flac.lo --- In file included from util.h:32, from sox_i.h:27, from flac.c:18: flac.c: In function 'start_write': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ flac.c:498:21: note: in expansion of macro 'lsx_calloc' 498 | char * text = lsx_calloc(strlen(prepend) + strlen(ft->oob.comments[i]) + 1, sizeof(*text)); | ^~~~~~~~~~ flac.c:513:10: warning: implicit conversion from 'FLAC__StreamEncoderInitStatus' to 'FLAC__StreamEncoderState' [-Wenum-conversion] 513 | status = FLAC__stream_encoder_init_stream(p->encoder, flac_stream_encoder_write_callback, | ^ --- libsox_la-lpc10.lo --- CC libsox_la-lpc10.lo --- libsox_la-mp3.lo --- CC libsox_la-mp3.lo mp3.c:189:26: warning: 'twolame_library_names' defined but not used [-Wunused-const-variable=] 189 | static const char* const twolame_library_names[] = | ^~~~~~~~~~~~~~~~~~~~~ --- libsox_la-sunaudio.lo --- CC libsox_la-sunaudio.lo --- libsox_la-vorbis.lo --- CC libsox_la-vorbis.lo --- libsox_la-sndfile.lo --- CC libsox_la-sndfile.lo --- libsox_la-vorbis.lo --- In file included from util.h:32, from sox_i.h:27, from vorbis.c:19: vorbis.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ vorbis.c:150:13: note: in expansion of macro 'lsx_calloc' 150 | vb->buf = lsx_calloc(vb->buf_len, sizeof(char)); | ^~~~~~~~~~ vorbis.c: In function 'write_vorbis_header': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ vorbis.c:261:26: note: in expansion of macro 'lsx_calloc' 261 | vc.comment_lengths = lsx_calloc((size_t)vc.comments, sizeof(*vc.comment_lengths)); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ vorbis.c:262:24: note: in expansion of macro 'lsx_calloc' 262 | vc.user_comments = lsx_calloc((size_t)vc.comments, sizeof(*vc.user_comments)); | ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) | ~~~~^~~~~ vorbis.c:265:21: note: in expansion of macro 'lsx_calloc' 265 | char * text = lsx_calloc(strlen(prepend) + strlen(ft->oob.comments[i]) + 1, sizeof(*text)); | ^~~~~~~~~~ ignore-warning.h: In function 'startwrite': vorbis.c:320:49: warning: passing argument 2 of 'vorbis_encode_init_vbr' with different width due to prototype [-Wtraditional-conversion] 320 | if (vorbis_encode_init_vbr(&ve->vi, ft->signal.channels, ft->signal.rate + .5, quality / 10)) | ~~~~~~~~~~^~~~~~~~~ vorbis.c:320:76: warning: passing argument 3 of 'vorbis_encode_init_vbr' as integer rather than floating due to prototype [-Wtraditional-conversion] 320 | if (vorbis_encode_init_vbr(&ve->vi, ft->signal.channels, ft->signal.rate + .5, quality / 10)) | ~~~~~~~~~~~~~~~~^~~~ vorbis.c:320:90: warning: passing argument 4 of 'vorbis_encode_init_vbr' as 'float' rather than 'double' due to prototype 320 | if (vorbis_encode_init_vbr(&ve->vi, ft->signal.channels, ft->signal.rate + .5, quality / 10)) | ~~~~~~~~^~~~ In file included from vorbis.c:27: /home/pbulk/build/audio/sox/work/.buildlink/include/vorbis/vorbisfile.h: At top level: /home/pbulk/build/audio/sox/work/.buildlink/include/vorbis/vorbisfile.h:95:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable] 95 | static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/sox/work/.buildlink/include/vorbis/vorbisfile.h:88:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable] 88 | static ov_callbacks OV_CALLBACKS_STREAMONLY = { | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/sox/work/.buildlink/include/vorbis/vorbisfile.h:81:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable] 81 | static ov_callbacks OV_CALLBACKS_NOCLOSE = { | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/sox/work/.buildlink/include/vorbis/vorbisfile.h:74:21: warning: 'OV_CALLBACKS_DEFAULT' defined but not used [-Wunused-variable] 74 | static ov_callbacks OV_CALLBACKS_DEFAULT = { | ^~~~~~~~~~~~~~~~~~~~ --- libsox_la-caf.lo --- CC libsox_la-caf.lo --- libsox_la-mat4.lo --- CC libsox_la-mat4.lo --- libsox_la-mat5.lo --- CC libsox_la-mat5.lo --- libsox_la-paf.lo --- CC libsox_la-paf.lo --- libsox_la-fap.lo --- CC libsox_la-fap.lo --- libsox_la-w64.lo --- CC libsox_la-w64.lo --- libsox_la-xi.lo --- CC libsox_la-xi.lo --- libsox_la-pvf.lo --- CC libsox_la-pvf.lo --- libsox_la-sd2.lo --- CC libsox_la-sd2.lo --- sox_sample_test.o --- CC sox_sample_test.o In file included from sox_sample_test.h:21, from sox_sample_test.c:18: sox_sample_test.h: In function 'main': sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 39 | assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ | ^~ sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 39 | assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ | ^~ sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 39 | assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ | ^~ sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ | ^~ sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ | ^~ sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ | ^~ sox_sample_test.h:190:3: error: implicit declaration of function 'fabs' [-Wimplicit-function-declaration] 190 | assert(fabs(d - 1) < 1e-9 && clips == 0); | ^~~~~~ sox_sample_test.h:23:1: note: include '' or provide a declaration of 'fabs' 22 | #include "sox.h" +++ |+#include 23 | *** [sox_sample_test.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/audio/sox/work/sox-14.4.2/src bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/audio/sox/work/sox-14.4.2/src bmake: stopped making "all" in /home/pbulk/build/audio/sox/work/sox-14.4.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox