cURL / Mailing Lists / curl-library / Single Mail

curl-library

[offtopic] Re: [PATCH] SSL bug and leaks

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

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...
>
> Best regards.
I saw one (some Unix, I think) not that long ago which had partial
support for //-style comments; they'd work most of the time, but lines like

// there's an apostrophe in this comment

would cause it to choke, complaining of an unterminated character
constant. (The "C++-style" comments are of course part of standard C
since 1999, so about 7 years ago now.)

When it is necessary to enforce rules like "No //-style comments", I've
been happy with making my build system check them for me -- but maybe
libcurl has a small enough team with write access that this is overkill.

-- James
Received on 2006-05-09