"M. Warner Losh" wrote:
> I've fixed a few of the low hanging fruit, but I don't know how to get
> rid of warnings like:
> 
> const char *foo = "blah";
> char *baz = foo;
> 
> when I know they are safe.

Un-const foo.  The compiler assumes strings are const unless
you go out of your way to do -fwriteable-strings.  It will
fault on a non-writeable page if you try to muck with it.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to