View Single Post
Old 17th August 2016, 19:25   #10  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
with GCC:
Code:
In file included from vcfreq.cpp:66:0:
FQSharphelper.cpp: In function 'void getRealInput(float*, const finc*, int, int, int, int, int, int, bool)':
FQSharphelper.cpp:251:30: error: too many arguments to function 'int getSign(int)'
     data1[ w] = getSign( h, w) * fptr1[w];
                              ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In function 'void getRealOutput(float*, finc*, int, int, int, int, int, bool, finc, finc)':
FQSharphelper.cpp:319:39: error: too many arguments to function 'int getSign(int)'
     int val = data1[ w] * getSign(h, w);
                                       ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealInput(float*, const finc*, int, int, int, int, int, int, bool) [with finc = unsigned char]':
FQBlur.cpp:254:78:   required from here
FQSharphelper.cpp:251:24: error: too many arguments to function 'int getSign(int)'
     data1[ w] = getSign( h, w) * fptr1[w];
                        ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealOutput(float*, finc*, int, int, int, int, int, bool, finc, finc) [with finc = unsigned char]':
FQBlur.cpp:267:51:   required from here
FQSharphelper.cpp:319:34: error: too many arguments to function 'int getSign(int)'
     int val = data1[ w] * getSign(h, w);
                                  ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealInput(float*, const finc*, int, int, int, int, int, int, bool) [with finc = short unsigned int]':
FQBlur.cpp:278:80:   required from here
FQSharphelper.cpp:251:24: error: too many arguments to function 'int getSign(int)'
     data1[ w] = getSign( h, w) * fptr1[w];
                        ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealOutput(float*, finc*, int, int, int, int, int, bool, finc, finc) [with finc = short unsigned int]':
FQBlur.cpp:291:51:   required from here
FQSharphelper.cpp:319:34: error: too many arguments to function 'int getSign(int)'
     int val = data1[ w] * getSign(h, w);
                                  ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealInput(float*, const finc*, int, int, int, int, int, int, bool) [with finc = float]':
FQBlur.cpp:302:80:   required from here
FQSharphelper.cpp:251:24: error: too many arguments to function 'int getSign(int)'
     data1[ w] = getSign( h, w) * fptr1[w];
                        ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
FQSharphelper.cpp: In instantiation of 'void getRealOutput(float*, finc*, int, int, int, int, int, bool, finc, finc) [with finc = float]':
FQBlur.cpp:316:51:   required from here
FQSharphelper.cpp:319:34: error: too many arguments to function 'int getSign(int)'
     int val = data1[ w] * getSign(h, w);
                                  ^
FQSharphelper.cpp:217:5: note: declared here
 int getSign(int i)
     ^
make: *** [Makefile:2: all] Error 1
with clang
Code:
In file included from vcfreq.cpp:66:
./FQSharphelper.cpp:251:17: error: no matching function for call to 'getSign'
                                data1[ w] = getSign( h, w) * fptr1[w];
                                            ^~~~~~~
./FQSharphelper.cpp:217:5: note: candidate function not viable: requires single argument 'i', but 2 arguments were provided
int getSign(int i)
    ^
./FQSharphelper.cpp:319:27: error: no matching function for call to 'getSign'
                                int val = data1[ w] * getSign(h, w);
                                                      ^~~~~~~
./FQSharphelper.cpp:217:5: note: candidate function not viable: requires single argument 'i', but 2 arguments were provided
int getSign(int i)
    ^
2 errors generated.
make: *** [Makefile:2: all] Error 1
note: #include "FQSharpHelper.cpp" -> #include "FQSharphelper.cpp" in vcfreq.cpp (case sensitive)
__________________
[AUR] Vapoursynth Stuff
[AUR] Avisynth Stuff
sl1pkn07 is offline   Reply With Quote