Re: Please no // comments in C source (ecpg)

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
Cc: "'Michael Meskes'" <meskes(at)postgresql(dot)org>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Please no // comments in C source (ecpg)
Date: 2000-09-25 15:30:06
Message-ID: Pine.LNX.4.21.0009251629010.5880-100000@maidast.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 25 Sep 2000, Zeugswetter Andreas SB wrote:

> Subj, sais it all,
>
> Please don't use C++ style comments in C source files.
> It does not work for all ports.

AFAIK, only GCC supports // as comments.

> Currently in connect.c.

And in the java areas, but that doesn't count here ;-)

--
Peter T Mount peter(at)retep(dot)org(dot)uk http://www.retep.org.uk
PostgreSQL JDBC Driver http://www.retep.org.uk/postgres/
Java PDF Generator http://www.retep.org.uk/pdf/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-09-25 15:50:57 AW: Please no // comments in C source (ecpg)
Previous Message Tom Lane 2000-09-25 15:00:08 Re: byacc problem with FreeBSD ...