Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 1997 03:46:35 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, rb@gid.co.uk
Cc:        gclarkii@main.gbdata.com, hackers@FreeBSD.ORG, jkh@time.cdrom.com, nadav@barcode.co.il
Subject:   Re: /usr/include/ftpio.h is not C++ safe
Message-ID:  <199705061746.DAA26819@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I have *shitloads* of old code around (mostly in clients' systems) which
>breaks in subtle and mysterious ways when naively ported to ANSI C. It
>often boils down to ANSI having broken the portability of comparing chars
>with constants [don't get me started, it's a couple of years since I had a
>good rant about that one :-)].
>
>-traditional is a life-saver.

gcc -traditional supports prototypes, so this is no argument for __P(())
:-).  It's an argument agains __P(()) - it's reasonable for headers to
only support the compiler(s) shipped with the system.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705061746.DAA26819>