On Fri, Jun 08, 2001 at 03:09:53PM +0200, Assar Westerlund wrote:
> Peter Pentchev <[EMAIL PROTECTED]> writes:
> > My explanation was a reply to a suggestion to remove the 'const' in
> > the structure definition.
> 
> My fault.  The code that I should have shown was without the 'const'.
> With gcc 2.95.3 and 'gcc -O -g -Werror -Wall -W -Wcast-qual -c foo.c'
> I don't get any errors with the const-less program (below).  I was
> wondering if this is something that has changed in recent gcc.

Errrr d'oh, ok, my fault - it's not -Wcast-qual, it's -Wwrite-strings
that causes the problem :)  WARNS=2 in -current makes it go boom.

G'luck,
Peter

-- 
If this sentence didn't exist, somebody would have invented it.

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

Reply via email to