GRID_SORT sample
Posted: Mon Oct 27, 2014 11:45 am
Hello,
When I compile the sample GRID_SORT with HMG 3.3.1, I get this error message :
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;
demo.prg: In function 'HB_FUN_LISTVIEW_GETCOLUMNORDERARRAY':
demo.prg:145:7: error: too many arguments to function 'hb_storni'
C:/hmg.3.3.1/harbour/include/hbapi.h:759:25: note: declared here
demo.prg: In function 'HB_FUN_LISTVIEW_SETCOLUMNORDERARRAY':
demo.prg:157:7: error: too many arguments to function 'hb_parni'
C:/hmg.3.3.1/harbour/include/hbapi.h:643:31: note: declared here
hbmk2[demo]: Error: Running C/C++ compiler. 1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pipe -IC:/hmg.3.3.1/harbour/include -I../../../../../hmg.3.3.1/SAMPLES/Advanced/GRID_SORT -IC:/hmg.3.3.1/include C:/DOCUME~1/CHRIST~1/LOCALS~1/Temp/hbmk_e7jxe2.dir/demo.c C:/DOCUME~1/CHRIST~1/LOCALS~1/Temp/hbmk_e91lhn.c
There seems to be a problem in the C code.
As I am not very good in C, anyone has an idea on how to solve that?
Thanks in advance
When I compile the sample GRID_SORT with HMG 3.3.1, I get this error message :
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;
demo.prg: In function 'HB_FUN_LISTVIEW_GETCOLUMNORDERARRAY':
demo.prg:145:7: error: too many arguments to function 'hb_storni'
C:/hmg.3.3.1/harbour/include/hbapi.h:759:25: note: declared here
demo.prg: In function 'HB_FUN_LISTVIEW_SETCOLUMNORDERARRAY':
demo.prg:157:7: error: too many arguments to function 'hb_parni'
C:/hmg.3.3.1/harbour/include/hbapi.h:643:31: note: declared here
hbmk2[demo]: Error: Running C/C++ compiler. 1
gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pipe -IC:/hmg.3.3.1/harbour/include -I../../../../../hmg.3.3.1/SAMPLES/Advanced/GRID_SORT -IC:/hmg.3.3.1/include C:/DOCUME~1/CHRIST~1/LOCALS~1/Temp/hbmk_e7jxe2.dir/demo.c C:/DOCUME~1/CHRIST~1/LOCALS~1/Temp/hbmk_e91lhn.c
There seems to be a problem in the C code.
As I am not very good in C, anyone has an idea on how to solve that?
Thanks in advance