C++ comments in C code - Mailing list pgsql-interfaces

From Peter Schaefer
Subject C++ comments in C code
Date
Msg-id 37FF2E8C.C87C95BD@cys.de
Whole thread Raw
List 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@cys.de, schaefer@dfu.de


pgsql-interfaces by date:

Previous
From: Nigel Tamplin
Date:
Subject: JDBC: ResultSet.updateString(int columnIndex, String x) when is this going to be implemented?
Next
From: Bruce Momjian
Date:
Subject: Next release is 7.0(?)