Do we need _ISOC99_SOURCE in the utf8-input patch?

Leonard den Ottolander leonard at den.ottolander.nl
Sun Oct 31 21:26:38 UTC 2004


Hi,

Is it really necessary to conform to ISO C99? It seems people can't
compile mc with gcc-2.95 because of this. Also I see warnings for
redefinitions as you don't #ifndef _ISOC99_SOURCE in edit.h.

I think it's probably best to drop this from the utf8-input patch
altogether. Any compelling reasons why we would need it?

Also I get 4 discarded qualifiers:
file.c:174: warning: passing arg 1 of `fix_utf8' discards qualifiers
from pointer target type
file.c:181: warning: passing arg 1 of `g_free' discards qualifiers from
pointer target type
file.c:225: warning: passing arg 1 of `g_free' discards qualifiers from
pointer target type
file.c:240: warning: passing arg 1 of `g_free' discards qualifiers from
pointer target type

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list