[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 9 00:10:29 2003 
Subject:Using 'varargs' vs 'stdargs' 
From:A . Sloman 
Volume-ID:1031109.03 

The changes to the Poplog Widget Set sources in $usepop/pop/x/Xpw
suggested by Andreas Eder, appear to be a move from an old style of C
programming involving 'varargs' to a newer style involving 'stdargs'.

As I am not a C programmer I know nothing about this.

I've tentatively (and blindly) incorporated his changes into a copy of
the edited Xpw sources here:

	http://www.cs.bham.ac.uk/research/poplog/src/new/x/Xpw/Xpw.tar.gz

which can be un-tarred into
	$usepop/pop/x

if anyone wants to try compiling them and then re-linking.

I've checked that the changed version works on redhat 8.

Should I assume that the changed version should be included
from now on as standard?

Andreas wrote:

> ...my
> gcc (version 3.3 20030226 (prerelease) (SuSE Linux)) no longer
> supports the use of varargs, but insists on using stdarg.

Presumably this is a generally agreed change in standards, and we should
simply follow the standard?

It would be nice not to have to have a different version of poplog for
SuSe users.

Aaron