pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Schaefer <schaefer@cys.de>
To: pgsql-interfaces@postgresql.org
Subject: C++ comments in C code
Date: Sat, 09 Oct 1999 14:01:16 +0200
Message-ID: <37FF2E8C.C87C95BD@cys.de> (raw)

Version used:  odbc-0.25 packaged with postgresql-6.5.2 

Most files in the odbc contain gcc-style C++-comments (//), which
is completely unnecessary and causing work when compiling with a C-compiler.

That is, I deleted all comments by applying the following to all files:
#!/bin/sh
cp $1 /tmp/$1.copy; sed 's/\/\/.*$//g' /tmp/$1.copy > $1

You might wish to keep the comments, though.

Thanks.

-- 
Peter Schäfer - mailto:schaefer@cys.de, schaefer@dfu.de



Message-ID: <37FF2E8C.C87C95BD@cys.de>
Permalink:  ../37FF2E8C.C87C95BD@cys.de/
Also on:    postgresql.org/message-id/37FF2E8C.C87C95BD@cys.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: schaefer@cys.de
  Subject: Re: C++ comments in C code
  In-Reply-To: <37FF2E8C.C87C95BD@cys.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox