Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 1997 08:31:24 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!zeta.org.au!bde, bde@zeta.org.au, ponds!gid.co.uk!rb
Cc:        ponds!main.gbdata.com!gclarkii, ponds!FreeBSD.ORG!hackers, ponds!time.cdrom.com!jkh, ponds!barcode.co.il!nadav
Subject:   Re: /usr/include/ftpio.h is not C++ safe
Message-ID:  <199705081231.IAA05595@lakes.water.net>

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
> 

 prototypes, yes - keywords no...

	- Dave R. -



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