|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60162] Conflicting types for octave_iconv_open_wrapper and octave_iconv_close_wrapper |
Date: | Wed, 3 Mar 2021 13:21:07 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #3, bug #60162 (project octave): It shouldn't compile. 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); } _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60162> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |