cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [ANN] libproxy 0.2

From: James Dennett <jdennett_at_technocom-wireless.com>
Date: Fri, 21 Dec 2007 09:33:30 -0800

> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-
> bounces_at_cool.haxx.se] On Behalf Of Nathaniel McCallum
> Sent: Thursday, December 20, 2007 9:18 PM
> To: libcurl development
> Subject: Re: [ANN] libproxy 0.2
>
> On Dec 21, 2007 12:05 AM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> > On Thu, Dec 20, 2007 at 11:49:14PM -0500, Nathaniel McCallum wrote:
> > > Were you able to get the build issue resolved?
> >
> > It was the other Dan that had the build issues. But I just tried it
> > myself and tripped over a C99ism in the code: variables declared at
> other
> > than the head of a function. libcurl aims for C89 compliance for
maximum
> > portability.
>
> I know that this is a common practice, but I didn't think that there
> were any OS's around that still didn't support C99.

I thought, on the contrary, the C99-compliant compilers were
rather exceptional, though most contemporary compilers support
some subset of C99's extensions over C90.

For broad portability, C90 is still something of a win, and
usually at very little cost.

-- James
Received on 2007-12-22