Subject: Re: '//' for comments in C code? (archivers/unace)
To: None <tech-pkg@NetBSD.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 01/21/2004 21:37:38
> >What would be the best way to accompish that? 
> 
> 1. Use gcc

sure, that would be an option, but I think it would be an unnecessary
restriction.

> 2. tell the author not to use C99 features

apparently the only feature used are the // comments.

> 3. add a pre-processing step that uses gnu cpp or awk to strip the
>    // comments

That's exactly what I had had in mind. How could this best be accomplished
(using awk, for example)? And how would one add it to the Makefile?


-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442