|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #60162] Conflicting types for octave_iconv_open_wrapper and octave_iconv_close_wrapper |
Date: | Wed, 3 Mar 2021 15:41:42 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #5, bug #60162 (project octave): We want to avoid including system header files (or gnulib replacements for them) in the wrapper header files because they may cause trouble when included directly in C++ source files. Using the cast is fine as it explicitly shows the intent here, but I think conversion from any pointer type to void* should be allowed and OK without the cast in both C and C++. _______________________________________________________ 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] |