|
From: | Michele Denber |
Subject: | Re: [Octave-bug-tracker] [bug #60162] Conflicting types for octave_iconv_open_wrapper and octave_iconv_close_wrapper |
Date: | Wed, 03 Mar 2021 20:46:08 -0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 03-03-2021 1:21 PM, Rik wrote:
Indeed it did not. I was fooled by the -j16 and this particular error ended up, uh somewhere else the next time.Follow-up Comment #3, bug #60162 (project octave): It shouldn't compile.
I'm not really a C programmer. So how should I change iconv-wrappers.c? The fragment above is what's there now, minus the "iconv_t" in front of the function name.The output of the function iconv_open is iconv_t. One probably needs an explicit cast to pointer to void before the return statement. octave_iconv_open_wrapper (const char *tocode, const char *fromcode) { return iconv_open (tocode, fromcode); }
- Michele
[Prev in Thread] | Current Thread | [Next in Thread] |