Do we need _ISOC99_SOURCE in the utf8-input patch?



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]