svn commit: r189369 - head/usr.sbin/IPXrouted

Roman Divacky rdivacky at FreeBSD.org
Wed Mar 4 10:51:40 PST 2009


On Wed, Mar 04, 2009 at 06:36:48PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Wed Mar  4 18:36:48 2009
> New Revision: 189369
> URL: http://svn.freebsd.org/changeset/base/189369
> 
> Log:
>   Make IPXrouted compile using Clang by using ANSI function declarations.
>   
>   Because of integer promotion, Clang doesn't allow ANSI prototypes to be
>   mixed with K&R declarations.

it allows mixing that. it just does not accept the cases where the promotion to int
rule is broken. ie. it does what ISO C says says it should do. unlike gcc


More information about the svn-src-head mailing list