Sujet : Re: ANNOUNCE: tclcsv 2.4.2 released
De : apnmbx-public (at) *nospam* yahoo.com (Ashok)
Groupes : comp.lang.tclDate : 01. Oct 2024, 04:03:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdfopi$2j5rv$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
Oops. Built the binaries from my work area so those should be ok. Forgot to commit the final source :-( so the source distribution generated from git is broken.
Fixed and released now as 2.4.3.
Sorry about that.
/Ashok
On 9/30/2024 11:46 PM, Paul Obermeier wrote:
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