This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Stage 2 project: upgrade decNumber
On Wed, Aug 29, 2007 at 07:51:43PM -0400, Daniel Jacobowitz wrote:
> On Wed, Aug 29, 2007 at 01:33:37PM -0700, Janis Johnson wrote:
> > This version of decNumber is quite different from what's currently in
> > GCC. The pristine version of the sources uses C++-style comments and
> > CRLF, so I plan to use the following filter before checking in the
> > updated files:
> >
> > col \
> > | sed -e 's,\([^:]\)//\(.*\),\1/*\2 */,' \
> > -e 's,^//\(.*\),/*\1 */,' \
> > | indent
>
> For what it's worth, I wouldn't bother. We can handle minimal changes
> from upstream source.
But it looks like libdecnumber is processed in stage 1. What if the
stage 1 compiler doesn't handle C++ comments?