Ethereal-dev: RE: [Ethereal-dev] C++ comments in 0.10.0

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Peter Kjellerstedt" <peter.kjellerstedt@xxxxxxxx>
Date: Wed, 17 Dec 2003 12:54:06 +0100
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx 
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Biot Olivier
> Sent: 17 December 2003 11:55
> To: ethereal-dev@xxxxxxxxxxxx
> Subject: RE: [Ethereal-dev] C++ comments in 0.10.0
> 
> I'm not a CVS expert :) but I know that many similar tools 
> (like Clear****) provide triggers at checkin. Does CVS 
> provide such functionality?

Yes. In the CVS case you can add scripts to the 
CVSROOT/commitinfo file. The script will be invoked 
with the repository and a list of the files to check.
The commit will be aborted if the script returns an 
error. And yes, this could be used to prevent C++ 
comments to ever enter the repository (which I guess
is what you were getting at).

//Peter

> Regards,
> 
> Olivier
> 
> | On Tue, Dec 16, 2003 at 07:55:59PM -0500, Devin Heitmueller wrote:
> | > Has anybody given thought to changing the Makefile to use 
> | > "-ansi" for GCC?  This would eliminate the ability to do 
> | > C++ comments along with some other non-portable features. 
> | > Are there any GCC specific features that we need?