Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
g++ -c -fPIC -march=native -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I/usr/include/vapoursynth -fpermissive -o vcm.o vcm.cpp
In file included from vcm.cpp:57:
colorconverter.h: In function 'void BGRtoYUV(const unsigned char*, unsigned char*)':
colorconverter.h:34:11: error: expected primary-expression before 'unsigned'
34 | yuv[0] = unsigned char(0.299 * bgr[2] + 0.587 * bgr[1] + 0.114 * bgr[0]);
| ^~~~~~~~
colorconverter.h:35:11: error: expected primary-expression before 'unsigned'
35 | yuv[1] = unsigned char (- 0.169 * bgr[2] - 0.332 * bgr[1] + 0.5 * bgr[0] + 128);
| ^~~~~~~~
colorconverter.h:36:11: error: expected primary-expression before 'unsigned'
36 | yuv[2] = unsigned char(0.5 * bgr[2] - bgr[1] * 0.419 - bgr[0] * 0.0813 + 128);
| ^~~~~~~~
In file included from F1Quiver.cpp:109,
from vcm.cpp:74:
unixDynamicLinkingCodeForFFT.cpp: In function 'void f1quiverInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
unixDynamicLinkingCodeForFFT.cpp:16:5: error: 'hDll' was not declared in this scope
16 | if (hDll != 0)
| ^~~~
unixDynamicLinkingCodeForFFT.cpp:19:23: warning: invalid conversion from 'void*' to 'fftwf_free_proc' {aka 'void (*)(void*)'} [-fpermissive]
19 | d->fftwf_free = dlsym(d->hinstLib, "fftwf_free");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:20:25: warning: invalid conversion from 'void*' to 'fftwf_malloc_proc' {aka 'float (* (*)(long unsigned int))[2]'} [-fpermissive]
20 | d->fftwf_malloc = dlsym(d->hinstLib, "fftwf_malloc");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:22:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_1d_proc' {aka 'fftwf_plan_s* (*)(int, float*, float (*)[2], int)'} [-fpermissive]
22 | d->fftwf_plan_dft_r2c_1d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:23:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_1d_proc' {aka 'fftwf_plan_s* (*)(int, float (*)[2], float*, int)'} [-fpermissive]
23 | d->fftwf_plan_dft_c2r_1d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:25:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float*, float (*)[2], int)'} [-fpermissive]
25 | d->fftwf_plan_dft_r2c_2d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:26:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float (*)[2], float*, int)'} [-fpermissive]
26 | d->fftwf_plan_dft_c2r_2d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:28:31: warning: invalid conversion from 'void*' to 'fftwf_destroy_plan_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
28 | d->fftwf_destroy_plan = dlsym(d->hinstLib, "fftwf_destroy_plan");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:29:26: warning: invalid conversion from 'void*' to 'fftwf_execute_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
29 | d->fftwf_execute = dlsym(d->hinstLib, "fftwf_execute");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:31:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_r2c_proc' {aka 'void (*)(fftwf_plan_s*, float*, float (*)[2])'} [-fpermissive]
31 | d->fftwf_execute_dft_r2c = dlsym(d->hinstLib, "fftwf_execute_dft_r2c");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:32:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_c2r_proc' {aka 'void (*)(fftwf_plan_s*, float (*)[2], float*)'} [-fpermissive]
32 | d->fftwf_execute_dft_c2r = dlsym(d->hinstLib, "fftwf_execute_dft_c2r");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
In file included from F2Quiver.cpp:109,
from vcm.cpp:75:
unixDynamicLinkingCodeForFFT.cpp: In function 'void f2quiverInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
unixDynamicLinkingCodeForFFT.cpp:16:5: error: 'hDll' was not declared in this scope
16 | if (hDll != 0)
| ^~~~
unixDynamicLinkingCodeForFFT.cpp:19:23: warning: invalid conversion from 'void*' to 'fftwf_free_proc' {aka 'void (*)(void*)'} [-fpermissive]
19 | d->fftwf_free = dlsym(d->hinstLib, "fftwf_free");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:20:25: warning: invalid conversion from 'void*' to 'fftwf_malloc_proc' {aka 'float (* (*)(long unsigned int))[2]'} [-fpermissive]
20 | d->fftwf_malloc = dlsym(d->hinstLib, "fftwf_malloc");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:22:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_1d_proc' {aka 'fftwf_plan_s* (*)(int, float*, float (*)[2], int)'} [-fpermissive]
22 | d->fftwf_plan_dft_r2c_1d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:23:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_1d_proc' {aka 'fftwf_plan_s* (*)(int, float (*)[2], float*, int)'} [-fpermissive]
23 | d->fftwf_plan_dft_c2r_1d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:25:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float*, float (*)[2], int)'} [-fpermissive]
25 | d->fftwf_plan_dft_r2c_2d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:26:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float (*)[2], float*, int)'} [-fpermissive]
26 | d->fftwf_plan_dft_c2r_2d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:28:31: warning: invalid conversion from 'void*' to 'fftwf_destroy_plan_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
28 | d->fftwf_destroy_plan = dlsym(d->hinstLib, "fftwf_destroy_plan");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:29:26: warning: invalid conversion from 'void*' to 'fftwf_execute_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
29 | d->fftwf_execute = dlsym(d->hinstLib, "fftwf_execute");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:31:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_r2c_proc' {aka 'void (*)(fftwf_plan_s*, float*, float (*)[2])'} [-fpermissive]
31 | d->fftwf_execute_dft_r2c = dlsym(d->hinstLib, "fftwf_execute_dft_r2c");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:32:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_c2r_proc' {aka 'void (*)(fftwf_plan_s*, float (*)[2], float*)'} [-fpermissive]
32 | d->fftwf_execute_dft_c2r = dlsym(d->hinstLib, "fftwf_execute_dft_c2r");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
In file included from FQBlur.cpp:112,
from vcm.cpp:76:
unixDynamicLinkingCodeForFFT.cpp: In function 'void blurInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
unixDynamicLinkingCodeForFFT.cpp:16:5: error: 'hDll' was not declared in this scope
16 | if (hDll != 0)
| ^~~~
unixDynamicLinkingCodeForFFT.cpp:19:23: warning: invalid conversion from 'void*' to 'fftwf_free_proc' {aka 'void (*)(void*)'} [-fpermissive]
19 | d->fftwf_free = dlsym(d->hinstLib, "fftwf_free");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:20:25: warning: invalid conversion from 'void*' to 'fftwf_malloc_proc' {aka 'float (* (*)(long unsigned int))[2]'} [-fpermissive]
20 | d->fftwf_malloc = dlsym(d->hinstLib, "fftwf_malloc");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:22:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_1d_proc' {aka 'fftwf_plan_s* (*)(int, float*, float (*)[2], int)'} [-fpermissive]
22 | d->fftwf_plan_dft_r2c_1d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:23:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_1d_proc' {aka 'fftwf_plan_s* (*)(int, float (*)[2], float*, int)'} [-fpermissive]
23 | d->fftwf_plan_dft_c2r_1d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:25:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float*, float (*)[2], int)'} [-fpermissive]
25 | d->fftwf_plan_dft_r2c_2d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:26:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float (*)[2], float*, int)'} [-fpermissive]
26 | d->fftwf_plan_dft_c2r_2d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:28:31: warning: invalid conversion from 'void*' to 'fftwf_destroy_plan_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
28 | d->fftwf_destroy_plan = dlsym(d->hinstLib, "fftwf_destroy_plan");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:29:26: warning: invalid conversion from 'void*' to 'fftwf_execute_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
29 | d->fftwf_execute = dlsym(d->hinstLib, "fftwf_execute");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:31:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_r2c_proc' {aka 'void (*)(fftwf_plan_s*, float*, float (*)[2])'} [-fpermissive]
31 | d->fftwf_execute_dft_r2c = dlsym(d->hinstLib, "fftwf_execute_dft_r2c");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:32:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_c2r_proc' {aka 'void (*)(fftwf_plan_s*, float (*)[2], float*)'} [-fpermissive]
32 | d->fftwf_execute_dft_c2r = dlsym(d->hinstLib, "fftwf_execute_dft_c2r");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
In file included from FQSharp.cpp:102,
from vcm.cpp:77:
unixDynamicLinkingCodeForFFT.cpp: In function 'void sharpInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
unixDynamicLinkingCodeForFFT.cpp:16:5: error: 'hDll' was not declared in this scope
16 | if (hDll != 0)
| ^~~~
unixDynamicLinkingCodeForFFT.cpp:19:23: warning: invalid conversion from 'void*' to 'fftwf_free_proc' {aka 'void (*)(void*)'} [-fpermissive]
19 | d->fftwf_free = dlsym(d->hinstLib, "fftwf_free");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:20:25: warning: invalid conversion from 'void*' to 'fftwf_malloc_proc' {aka 'float (* (*)(long unsigned int))[2]'} [-fpermissive]
20 | d->fftwf_malloc = dlsym(d->hinstLib, "fftwf_malloc");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:22:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_1d_proc' {aka 'fftwf_plan_s* (*)(int, float*, float (*)[2], int)'} [-fpermissive]
22 | d->fftwf_plan_dft_r2c_1d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:23:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_1d_proc' {aka 'fftwf_plan_s* (*)(int, float (*)[2], float*, int)'} [-fpermissive]
23 | d->fftwf_plan_dft_c2r_1d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:25:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float*, float (*)[2], int)'} [-fpermissive]
25 | d->fftwf_plan_dft_r2c_2d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:26:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float (*)[2], float*, int)'} [-fpermissive]
26 | d->fftwf_plan_dft_c2r_2d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:28:31: warning: invalid conversion from 'void*' to 'fftwf_destroy_plan_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
28 | d->fftwf_destroy_plan = dlsym(d->hinstLib, "fftwf_destroy_plan");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:29:26: warning: invalid conversion from 'void*' to 'fftwf_execute_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
29 | d->fftwf_execute = dlsym(d->hinstLib, "fftwf_execute");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:31:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_r2c_proc' {aka 'void (*)(fftwf_plan_s*, float*, float (*)[2])'} [-fpermissive]
31 | d->fftwf_execute_dft_r2c = dlsym(d->hinstLib, "fftwf_execute_dft_r2c");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:32:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_c2r_proc' {aka 'void (*)(fftwf_plan_s*, float (*)[2], float*)'} [-fpermissive]
32 | d->fftwf_execute_dft_c2r = dlsym(d->hinstLib, "fftwf_execute_dft_c2r");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
In file included from FQCorrelation.cpp:104,
from vcm.cpp:78:
unixDynamicLinkingCodeForFFT.cpp: In function 'void corrInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
unixDynamicLinkingCodeForFFT.cpp:16:5: error: 'hDll' was not declared in this scope
16 | if (hDll != 0)
| ^~~~
unixDynamicLinkingCodeForFFT.cpp:19:23: warning: invalid conversion from 'void*' to 'fftwf_free_proc' {aka 'void (*)(void*)'} [-fpermissive]
19 | d->fftwf_free = dlsym(d->hinstLib, "fftwf_free");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:20:25: warning: invalid conversion from 'void*' to 'fftwf_malloc_proc' {aka 'float (* (*)(long unsigned int))[2]'} [-fpermissive]
20 | d->fftwf_malloc = dlsym(d->hinstLib, "fftwf_malloc");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:22:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_1d_proc' {aka 'fftwf_plan_s* (*)(int, float*, float (*)[2], int)'} [-fpermissive]
22 | d->fftwf_plan_dft_r2c_1d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:23:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_1d_proc' {aka 'fftwf_plan_s* (*)(int, float (*)[2], float*, int)'} [-fpermissive]
23 | d->fftwf_plan_dft_c2r_1d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_1d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:25:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_r2c_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float*, float (*)[2], int)'} [-fpermissive]
25 | d->fftwf_plan_dft_r2c_2d = dlsym(d->hinstLib, "fftwf_plan_dft_r2c_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:26:34: warning: invalid conversion from 'void*' to 'fftwf_plan_dft_c2r_2d_proc' {aka 'fftwf_plan_s* (*)(int, int, float (*)[2], float*, int)'} [-fpermissive]
26 | d->fftwf_plan_dft_c2r_2d = dlsym(d->hinstLib, "fftwf_plan_dft_c2r_2d");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:28:31: warning: invalid conversion from 'void*' to 'fftwf_destroy_plan_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
28 | d->fftwf_destroy_plan = dlsym(d->hinstLib, "fftwf_destroy_plan");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:29:26: warning: invalid conversion from 'void*' to 'fftwf_execute_proc' {aka 'void (*)(fftwf_plan_s*)'} [-fpermissive]
29 | d->fftwf_execute = dlsym(d->hinstLib, "fftwf_execute");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:31:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_r2c_proc' {aka 'void (*)(fftwf_plan_s*, float*, float (*)[2])'} [-fpermissive]
31 | d->fftwf_execute_dft_r2c = dlsym(d->hinstLib, "fftwf_execute_dft_r2c");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
unixDynamicLinkingCodeForFFT.cpp:32:34: warning: invalid conversion from 'void*' to 'fftwf_execute_dft_c2r_proc' {aka 'void (*)(fftwf_plan_s*, float (*)[2], float*)'} [-fpermissive]
32 | d->fftwf_execute_dft_c2r = dlsym(d->hinstLib, "fftwf_execute_dft_c2r");
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void*
In file included from vcm.cpp:78:
FQCorrelation.cpp: In function 'void corrCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)':
FQCorrelation.cpp:552:4: error: 'fopen_s' was not declared in this scope; did you mean 'fopen64'?
552 | fopen_s( &d.ofile, fn, "w");
| ^~~~~~~
| fopen64
In file included from vcm.cpp:81:
moveDeBarrel.cpp: In function 'void debarrelCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)':
moveDeBarrel.cpp:771:25: warning: unknown escape sequence: '\*'
771 | vsapi->setError(out, "deBarrel: dots can be \"many\" or \*mod\" or \"few\" only.");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vcm.cpp:86:
modHistogram.cpp: In function 'void histogramadjustInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
modHistogram.cpp:74:71: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
74 | const VSFrameRef *matchf = vsapi->getFrame(d->mf, d->node[1], NULL, NULL);
| ^~~~
In file included from vcm.cpp:93:
modNeural.cpp: In function 'void neuralInit(VSMap*, VSMap*, void**, VSNode*, VSCore*, const VSAPI*)':
modNeural.cpp:74:61: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
74 | const VSFrameRef *src = vsapi->getFrame(0, d->node, NULL, NULL);
| ^~~~
modNeural.cpp:75:62: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
75 | const VSFrameRef *trf = vsapi->getFrame(0, d->tnode, NULL, NULL);
| ^~~~
modNeural.cpp:281:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
281 | char * title = "vcMod_Neural_xpts_ypts_inodes_and_Weights";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modNeural.cpp:370:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
370 | char * title = "vcMod_Neural_xpts_ypts_inodes_and_Weights";
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from vcm.cpp:93:
modNeural.cpp: In function 'void neuralCreate(const VSMap*, VSMap*, void*, VSCore*, const VSAPI*)':
modNeural.cpp:718:2: error: 'strcpy_s' was not declared in this scope; did you mean 'strcpy'?
718 | strcpy_s(d.txt, 8, txt);
| ^~~~~~~~
| strcpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.