[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: va_copy error [Was Re: Make Problem - parse error before "const"]

From: Joseph Maxwell
Subject: Re: va_copy error [Was Re: Make Problem - parse error before "const"]
Date: Mon, 05 May 2008 16:40:04 -0700
User-agent: Thunderbird (Windows/20080421)

Gary V. Vaughan wrote:
On 5 May 2008, at 10:35, Eric Blake wrote:
Gary V. Vaughan <necro.no <at> mac.com> writes:

However, since m4-1.4.11 has 3 authors, you could work around it by rewriting
the version_etc function to accept author names explicitly:


$ m4-1.4.11 --version | tail -n1
Written by Rene' Seindal.

Oops.  Looking in the wrong directory.  *blush*

But your comments about rewriting version_etc, taking one explicit author instead of three, might work. However, there are other uses of va_arg in the
m4 source, so I'm not sure that a rewrite would help.

Indeed.  I didn't bother to check whether the other instances could be
"unrolled" by hand too. Quite right that papering over the cracks probabl
won't work here though.

 It would be interesting
to see version-etc.c after pre-processing.

Yes indeed!  Joseph please attach version-etc.pp.gz as generated by the
following to your next reply:

$ cd src
$ gcc  -I. -E version-etc.c | gzip -c > version-etc.pp.gz

I am taking 'src' as been /usr/local/appl/gnu/m4/m4-1.4.11/lib , the location of my version-etc.c files as there is no version-etc.c in my /usr/local/appl/gnu/m4/m4-1.4.11/src directory. The gzipped file is attached.


--  Joe  --

Attachment: version-etc.pp.gz
Description: GNU Zip compressed data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]