[CWB] [ cwb-Bugs-3066695 ] CWB::CL: too few arguments to function
cl_string_canonical
SourceForge.net
noreply at sourceforge.net
Wed Sep 15 11:06:41 CEST 2010
Bugs item #3066695, was opened at 2010-09-15 11:06
Message generated for change (Tracker Item Submitted) made by heatherleaf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3066695&group_id=131809
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: peter ljunglöf (heatherleaf)
Assigned to: Nobody/Anonymous (nobody)
Summary: CWB::CL: too few arguments to function cl_string_canonical
Initial Comment:
Function call on line 302 in .../perl/trunk/CWB-CL/CL.xs:
cl_string_canonical(s_norm, flags);
But the definition of the function, on line 714 in .../cwb/trunk/cl/cl.h, requires 3 arguments:
void cl_string_canonical(char *s, CorpusCharset charset, int flags);
A quick-and-dirty solution which gets CWB::CL to compile is to add any charset to the call, e.g.:
cl_string_canonical(s_norm, utf8, flags);
I guess it's a bit more complicated than that, but at least I got it to compile this way...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3066695&group_id=131809
More information about the CWB
mailing list