cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] SSL bug and leaks

From: James Dennett <jdennett_at_technocom-wireless.com>
Date: Tue, 09 May 2006 11:39:22 -0700

Dan Fandrich wrote:
> On Tue, May 09, 2006 at 11:38:57AM -0400, Gonzalo Diethelm wrote:
>
>> Just out of curiosity (and let me state that I DO agree with using C comments
>> in C code), what C compilers/platforms really do not support C++ comments? I
>> haven't seen any for a LONG while...
>>
>
> Most modern C compilers support C99 which does allow C++-style comments.
I know of only one compiler with full C99 support (from Comeau
Computing, based on the EDG front-end, and then only when used with a
relatively fully-featured backend compiler), but support for //-style
comments is widespread.
> But
> there are production servers installed 7 years ago without C99 support
> that also run curl and there's no reason to exclude them.
>
The cost of excluding //-style comments is pretty low, so if there are
any real platforms which can be supported for that cost it would seem
worthwhile.

-- James
Received on 2006-05-09