You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@organic.com> on 1997/10/20 22:11:24 UTC

Re: cvs commit: apachen/src/main alloc.c

At 08:02 PM 10/20/97 -0000, pcs@hyperreal.org wrote:
>  +        if (pid == -1) pid = 0;     // map Win32 error code onto Unix
default

Should we maybe make all '//' comments use /*  */?  Will cygwin gcc (if
someone ever comes up with a gnu Makefile for the NT version) support '//'?
 Just wondering... 

	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"it's a big world, with lots of records to play." - sig   brian@organic.com

Re: cvs commit: apachen/src/main alloc.c

Posted by Alexei Kosut <ak...@nueva.pvt.k12.ca.us>.
On Mon, 20 Oct 1997, Martijn Koster wrote:

> On Mon, Oct 20, 1997 at 01:11:24PM -0700, Brian Behlendorf wrote:
> 
> > Should we maybe make all '//' comments use /*  */?  Will cygwin gcc (if
> > someone ever comes up with a gnu Makefile for the NT version) support '//'?
> >  Just wondering... 
> 
> Please. If not, you need to document somewhere that SGI compilers need
> -Xcpluscomm or else they barf on //.

This isn't really the point, but I remember reading somewhere that a
recent rev to th ANSI C spec now allows the use of //
comments. *shrug*

Personally, I think we should use BASIC comments (the REM keyword, if
I recall correctly). If people's C compilers don't support it, that's
their fault, right? :)


-- Alexei Kosut <ak...@nueva.pvt.k12.ca.us>


Re: cvs commit: apachen/src/main alloc.c

Posted by Martijn Koster <ma...@webcrawler.com>.
On Mon, Oct 20, 1997 at 01:11:24PM -0700, Brian Behlendorf wrote:

> Should we maybe make all '//' comments use /*  */?  Will cygwin gcc (if
> someone ever comes up with a gnu Makefile for the NT version) support '//'?
>  Just wondering... 

Please. If not, you need to document somewhere that SGI compilers need
-Xcpluscomm or else they barf on //.

-- Martijn Koster, m.koster@pobox.com


Re: cvs commit: apachen/src/main alloc.c

Posted by Paul Sutton <pa...@ukweb.com>.
On Mon, 20 Oct 1997, Brian Behlendorf wrote:
> At 08:02 PM 10/20/97 -0000, pcs@hyperreal.org wrote:
> >  +        if (pid == -1) pid = 0;     // map Win32 error code onto Unix
> default
> 
> Should we maybe make all '//' comments use /*  */?  Will cygwin gcc (if
> someone ever comes up with a gnu Makefile for the NT version) support '//'?

Yes, absolutely. I hate // comments, MSVC just makes it soooo easy to slip
them in though. I'll fix it.

//pcs