I am getting this error:

process.c:1018: warning: passing arg 1 of `putenv' discards qualifiers
from pointer target type

It turns out that I am sending a "const" string to putenv which is
defined:

./stdlib.h:extern int putenv (char *__string) __THROW;

This discards the "constness" of the string.

Then I find this:

http://sources.redhat.com/ml/libc-hacker/1999-08/msg00008.html

which implies that it was const ages ago.

Should I raise this as a bug?

-- 
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to