Sujet : Re: ANNOUNCE: tclcsv 2.4.2 released
De : obermeier (at) *nospam* poSoft.de (Paul Obermeier)
Groupes : comp.lang.tclDate : 30. Sep 2024, 19:16:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdepu5$2b4od$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Am 30.09.2024 um 18:37 schrieb Ashok:
tclcsv 2.4.2 released - update for Tcl 9.
The tclcsv extension for Tcl provides a fast and flexible means of reading and writing text files in Comma Separated Value (CSV) format.
Includes a UI widget for sniffing CSV dialects.
Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/
Repository:https://github.com/apnadkarni/tcl-csv
I get the following errors when trying to compile on Windows with gcc:
generic/csv.c: In function 'csv_format_cell':
generic/csv.c:1877:49: error: invalid operands to binary - (have 'long long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
~~~~~~~~~~~~~~ ^
generic/csv.c:1928:45: error: invalid operands to binary - (have 'long long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
I assume, the Tcl_DStringSetLength lines should be:
Tcl_DStringSetLength(ds, (Tcl_Size) (dst - p));
Paul