compile error: expected declaration specifiers or '...' before 'od_coeff'
Rhythmicc opened this issue · comments
../src/filter.c:852:22: error: expected declaration specifiers or '...' before 'od_coeff'
852 | void od_pre_filter32(od_coeff _y[32], const od_coeff _x[32]) {
| ^~~~~~~~
../src/filter.c:852:45: warning: type defaults to 'int' in declaration of 'od_coeff' [-Wimplicit-int]
852 | void od_pre_filter32(od_coeff _y[32], const od_coeff _x[32]) {
| ^~~~~~~~
../src/filter.c:852:54: error: expected ';', ',' or ')' before '_x'
852 | void od_pre_filter32(od_coeff _y[32], const od_coeff _x[32]) {
| ^~
../src/filter.c:1146:23: error: expected declaration specifiers or '...' before 'od_coeff'
1146 | void od_post_filter32(od_coeff _x[32], const od_coeff _y[32]) {
| ^~~~~~~~
../src/filter.c:1146:46: warning: type defaults to 'int' in declaration of 'od_coeff' [-Wimplicit-int]
1146 | void od_post_filter32(od_coeff _x[32], const od_coeff _y[32]) {
| ^~~~~~~~
../src/filter.c:1146:55: error: expected ';', ',' or ')' before '_y'
1146 | void od_post_filter32(od_coeff _x[32], const od_coeff _y[32]) {
| ^~
../src/filter.c:1459:25: error: expected declaration specifiers or '...' before 'od_coeff'
1459 | void od_prefilter_split(od_coeff *c0, int stride, int bs, int f, int hfilter,
| ^~~~~~~~
../src/filter.c:1485:26: error: expected declaration specifiers or '...' before 'od_coeff'
1485 | void od_postfilter_split(od_coeff *c0, int stride, int bs, int f, int q,
| ^~~~~~~~
../src/filter.c:1529:35: error: expected declaration specifiers or '...' before 'od_coeff'
1529 | void od_apply_prefilter_frame_sbs(od_coeff *c0, int stride, int nhsb, int nvsb,
| ^~~~~~~~
../src/filter.c:1561:36: error: expected declaration specifiers or '...' before 'od_coeff'
1561 | void od_apply_postfilter_frame_sbs(od_coeff *c0, int stride, int nhsb,
| ^~~~~~~~
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:128,
from ../src/filter.c:30:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/malloc/_malloc.h:52:7: error: old-style parameter declarations in prototyped function definition
52 | int posix_memalign(void **__memptr, size_t __alignment, size_t __size) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
| ^~~~~~~~~~~~~~
../src/filter.c:1698: error: expected '{' at end of input
1698 | #endif
|
../src/filter.c:1619:1: warning: control reaches end of non-void function [-Wreturn-type]
1619 | }
| ^
make: *** [objs/filter.o] Error 1