Displaying 4 results from an estimated 4 matches for "frt_td_to_".
Did you mean:
frt_td_to_s
2007 Apr 06
1
0.11.4 tidings
...ing the wrong
parameters to ferret methods, which I''ve had problems with before...
I''ll keep trying and do a big test overnight, but so far, the news
is..... ambivalent.
As far as the 64-bit warnings go, most are now gone, with one exception:
r_search.c: In function ''frt_td_to_s'':
r_search.c:202: warning: format ''%d'' expects type ''int'', but argument 3
has type ''long int''
Dave, I''d like to thank you once again for your efforts in creating and
maintaining Ferret. You make great efforts even when giv...
2007 Mar 16
5
ferret on 64bit systems?
...et on the server
that I don''t recall seeing on my workstation. None of them seemed
terribly noxious, but I haven''t really looked into what code causes
these. Anyway, here are the warnings for 0.11.3:
Building native extensions. This could take a while?
r_search.c: In function ?frt_td_to_s?:
r_search.c:202: warning: format ?%d? expects type ?int?, but argument 3
has type ?long int?
ferret.c: In function ?object_add2?:
ferret.c:69: warning: cast from pointer to integer of different size
ferret.c:69: warning: cast from pointer to integer of different size
ferret.c: In function ?objec...
2006 Oct 10
4
Need help for coding an extension to ferret
...like to load each document from ids in my TopDoc object, to make
the json string myself from that, but i don''t know how to load my
documents from this class... it''s really weirdo to me actually :\ hope
somebody can help !
Here is my code, situated in r_search.c :
static VALUE
frt_td_to_json(VALUE self)
{
int i;
VALUE rhits = rb_funcall(self, id_hits, 0);
VALUE rhit;
const int len = RARRAY(rhits)->len;
long pos;
for (i = 0; i < len; i++)
{
rhit = RARRAY(rhits)->ptr[i];
pos = FIX2INT(rb_funcall(rhit, id_doc, 0));
//
// HERE I WOUlD LIKE TO LOAD THE DOCUMENTS,...
2007 Mar 29
2
Nasty looking warnings on Debian Etch AMD64 bit box
....c: In function ?object_add2?:
ferret.c:69: warning: cast from pointer to integer of different size
ferret.c:69: warning: cast from pointer to integer of different size
ferret.c: In function ?object_del2?:
ferret.c:88: warning: cast from pointer to integer of different size
r_search.c: In function ?frt_td_to_s?:
r_search.c:202: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
compound_io.c: In function ?cmpdi_read_i?:
compound_io.c:135: warning: format ?%lld? expects type ?long long int?, but argument 4 has type ?off_t?
compound_io.c:135: warning: format ?%lld? expects type ?l...