Subject: Re: ctype "(int)" casting (Re: pkg_select upgrade)
To: None <Ephaeton@gmx.net>
From: Ben Harris <bjh21@netbsd.org>
List: tech-userlevel
Date: 03/17/2005 12:55:02
In article <20050317084745.GE457@circe.entropie.net> you write:
>But this is a compile time issue, and as it stands you cannot compile a
>standard compliant iso c program under NetBSD with -Werror[1],
...
>[1]: -Wall -W -Werror -std=iso9899:1999

This is true for plenty of other reasons too -- try this .c file (which I
think is perfectly good C99, but generates two errors with those flags:

thing() { int thing; if (thing=1) return 0; }

-- 
Ben Harris                                                   <bjh21@NetBSD.org>
Portmaster, NetBSD/acorn26           <URL:http://www.NetBSD.org/Ports/acorn26/>