[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Fri, 16 Apr 2004 08:14:11 +0000 (UTC) 
Subject:Re: Status of OpenPoplog (fwd) 
From:A . Sloman 
Volume-ID: 

Brent wrote:

> One thing I do notice is that Poplog doesn't seem to build properly
> under recent versions
> of GCC due to the removal of the <varargs.h> compatibility.  It
> assumes C89/C99 semantics,
> which requires at least one known parameter type.  (This affects the
> extern/lib/c_core.c compile).

In the current linux version this has been fixed (last November) thanks
to Andreas Eder and Waldek Hebisch, who explained how to replace varargs
with stdargs.

As far as I know varargs was actually used only in the X sources, so the
fix involved some changes in the Xpw sources.
    $usepop/pop/x/Xpw/*

These files were changed
    CallMethod.c
    Methods.h
    MethodsP.h

The new versions are included in the latest linux poplog, and can also
be fetched from here:

    http://www.cs.bham.ac.uk/research/poplog/src/new/x/Xpw/Xpw.tar.gz
        92772 bytes Nov  8 23:58 2003


I have just realized that I forgot to record all this in
    http://www.cs.bham.ac.uk/research/poplog/bugfixes/

which I'll try to do soon.

I presume this means that anything in

    $popexternlib/c_core.c

that uses varargs can simply be commented out?

Aaron