C++ comments in C code

From: Peter Schaefer <schaefer(at)cys(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: C++ comments in C code
Date: 1999-10-09 12:01:16
Message-ID: 37FF2E8C.C87C95BD@cys.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)cys(dot)de, schaefer(at)dfu(dot)de

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 1999-10-09 12:53:22 Next release is 7.0(?)
Previous Message Nigel Tamplin 1999-10-08 21:49:59 JDBC: ResultSet.updateString(int columnIndex, String x) when is this going to be implemented?