sqlite3x.c:206636:18: warning: implicit declaration of function
'csv_read_one_field'; did you mean 'csv_read_one_field_ext'?
[-Wimplicit-function-declaration]
return csv_read_one_field(p);
^~~~~~~~~~~~~~~~~~
csv_read_one_field_ext
sqlite3x.c:206636:18: warning: return makes pointer from integer without a cast
[-Wint-conversion]
return csv_read_one_field(p);
^~~~~~~~~~~~~~~~~~~~~
C:\Users\KMedcalf\AppData\Local\Temp\ccCaQVe8.ltrans26.ltrans.o:<artificial>:(.text+0x86fd):
undefined reference to `csv_read_one_field'
collect2.exe: error: ld returned 1 exit status
Should probably be
Index: csv.c
==================================================================
--- csv.c
+++ csv.c
@@ -262,11 +262,11 @@
csv_append(p, c);
c = csv_getc(p);
if( (c&0xff)==0xbf ){
p->bNotFirst = 1;
p->n = 0;
- return csv_read_one_field(p);
+ return csv_read_one_field_ext(p);
}
}
}
while( c>',' || (c!=EOF && c!=',' && c!='\n') ){
if( csv_append(p, (char)c) ) return 0;
---
Life should not be a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside in a cloud
of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow!
What a Ride!"
-- Hunter S. Thompson
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users