gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Problem building master


From: Camm Maguire
Subject: Re: [Gcl-devel] Problem building master
Date: Wed, 21 Dec 2016 16:25:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Greetings!  Yes!  These are absent in my Debian unstable version of the
file.  What I do not understand is why the #undef DEFUN is not working
for you.  What git tag are you using again?

Take care,

Blake McBride <address@hidden> writes:

> Looking deeper into the first line found, turns out to be a comment:
>
> /*
> ...
>    This header also defines a lot of obsolete macros:
>    CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
>    AND, DOTS, NOARGS.  Don't use them.  */
>
> On Sun, Nov 20, 2016 at 8:51 PM, Blake McBride <address@hidden> wrote:
>
>     Does this help:
>    
>     address@hidden /usr/include $ find . -type f -exec grep -H DEFUN {} \;
>     ./ansidecl.h:   CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
>     ./ansidecl.h:#define DEFUN(name, arglist, args) name(args)
>     ./ansidecl.h:#define DEFUN_VOID(name) name(void)
>     ./ansidecl.h:#define DEFUN(name, arglist, args) name arglist args;
>     ./ansidecl.h:#define DEFUN_VOID(name) name()
>
>     On Tue, Nov 1, 2016 at 11:46 AM, Camm Maguire <address@hidden> wrote:
>    
>         Greetings, and thanks for the report!  As I cannot reproduce this on
>         up-to-date Debian unstable, might you provide ssh access to this box?
>        
>         Take care,
>        
>         Blake McBride <address@hidden> writes:
>        
>         > On Mon, Oct 17, 2016 at 12:11 PM, Camm Maguire <address@hidden> 
> wrote:
>         >
>         >     Greetings!
>         >
>         >     Blake McBride <address@hidden> writes:
>         >
>         >     > Same error. 
>         >
>         >     Hmmm.  I'm skeptical.  Can you git pull from master and make 
> sure your
>         >     changes are the same as mine?
>         >
>         > address@hidden ~/Backup/gcl.git/gcl $ rm -rf *
>         > address@hidden ~/Backup/gcl.git/gcl $ git checkout --force
>         > Your branch is up-to-date with 'origin/master'.
>         > address@hidden ~/Backup/gcl.git/gcl $ git pull
>         > Already up-to-date.
>         > address@hidden ~/Backup/gcl.git/gcl $ git branch
>         > * master
>         > address@hidden ~/Backup/gcl.git/gcl $ ./configure --enable-ansi
>         > ....
>         > add-defs1 amd64-linux
>         > using amd64-linux.defs
>         >  if the 'unknown' directories exist you may provide
>         > a second argument to ./add-defs of a local directory where things 
> might be,
>         > or edit ./add-defs so that it can find them.   Otherwise just 
> continue
>         > and the portions with unknown will not be compiled.
>         > address@hidden ~/Backup/gcl.git/gcl $ make
>         > ...
>         > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl/bin'
>         > gcc  -I../h  -o append  append.c
>         > gcc -I../h  -o file-sub file-sub.c
>         > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/bin'
>         > make mpfiles
>         > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl'
>         > make[1]: Nothing to be done for `mpfiles'.
>         > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl'
>         > rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
>         > (cd o; make all)
>         > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl/o'
>         > gcc -c -fsigned-char  -pipe -Wall  -Wno-unused-but-set-variable -O3 
> -fomit-frame-pointer  -I/home/blake/Backup/gcl.git/gcl/o -I../h -I../
>         gcl-tk
>         > typespec.c  
>         > In file included from ../h/include.h:124:0,
>         >                  from typespec.c:29:
>         > ../h/../h/new_decl.h:210:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
> ‘__attribute__’ before ‘{’ token
>         >  DEFUN {
>         >        ^
>         > make[1]: *** [typespec.o] Error 1
>         > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/o'
>         > make: *** [unixport/saved_pre_gcl] Error 2
>         > address@hidden ~/Backup/gcl.git/gcl $ 
>         >
>         >  
>         >
>        
>         --
>         Camm Maguire                                        address@hidden
>         
> ==========================================================================
>         "The earth is but one country, and mankind its citizens."  --  
> Baha'u'llah
>

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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