On Fri, Nov 23, 2001 at 06:18:16PM +0100, Olivier Chapuis wrote:
> On Fri, Nov 23, 2001 at 06:35:31AM -0600, FVWM CVS wrote:
> > CVSROOT:    /home/cvs/fvwm
> > Module name:        fvwm
> > Changes by: domivogt        01/11/23 06:35:31
> > 
> > Modified files:
> >     .              : ChangeLog 
> >     fvwm           : ewmh_names.c 
> > 
> > Log message:
> > * -Wall fix (2nd parameter of iconv).
> 
> The amusing thing here is that now I have a warning:
> 
> ewmh_names.c: In function `convert_charsets':
> ewmh_names.c:132: warning: passing arg 2 of `iconv' from incompatible pointer 
> type
> 
> I do not think that this can cause a problem.
> It is probably my glibc which is broken as the glib developers
> do as you commit.

Doh.  It should be possible to pass in a (char *) to a function
expecting a (const char *) without a warning.  After all, the
const is just some kind of information for the caller that the
provided pointer will be used read-only.  If there is no way to
make -Wall happy in all circumstances I'd prefer to avoid the
iconv() function altogether.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to