[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW port
From: |
Kevin Ryde |
Subject: |
Re: MinGW port |
Date: |
Tue, 05 Sep 2006 09:11:08 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Neil Jerram <address@hidden> writes:
>
> do you understand exactly what the
> Win32/MinGW compiler is complaining about?
The function takes "const char * const *" but the actual parameter is
"char **".
I've never understood why that should provoke a complaint. Const is a
promise by the func that it won't modify the contents (of either the
array or the contained strings) so surely it's acceptable to pass
something that is allowed to be modified, isn't it?
In any case, __MINGW32__ conditionals are pretty horrible, I'd much
prefer to see guile not force "-Werror" on unsuspecting users. Or not
do it on mingw at least.