Package: regina
Version: 3.3-2
Severity: important

Your package fails to build on mips:
    expected ';', ',' or ')' before '*' token
I don't get this on AMD64.

On AMD64 I see in the pre-processed file:

# 51 "./gci/gci_call.c"
static void doCall( void (*func)(),
                    const GCI_parseinfo *info,
                    const unsigned long *buf )

whereas on mips I get:

# 51 "./gci/gci_call.c"
static void doCall( void (*func)(),
                    const GCI_parseinfo *info,
                    const GCI_STACK_ELEMENT *buf )

So it is a simple matter of GCI_STACK_ELEMENT not being defined.  But
why?  It seems to be there in gci_convert.h

Any idea?


> Automatic build of regina_3.3-2 on bigsur by sbuild/mips 1.106
...
> gcc -DNDEBUG -O2 -g -Wall -fomit-frame-pointer -fno-strict-aliasing 
> -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/usr/share/regina\" 
> -funsigned-char -DHAVE_CONFIG_H -DHAVE_GCI -I./gci   -I. -I.   -D_REENTRANT 
> -DPOSIX -o gci_call.sho -fPIC -DDYNAMIC -c ./gci/gci_call.c
> ./gci/gci_call.c:53: warning: type defaults to 'int' in declaration of 
> 'GCI_STACK_ELEMENT'
> ./gci/gci_call.c:53: error: expected ';', ',' or ')' before '*' token
> ./gci/gci_call.c: In function 'addCallList':
> ./gci/gci_call.c:173: error: 'GCI_STACK_ELEMENT' undeclared (first use in 
> this function)
> ./gci/gci_call.c:173: error: (Each undeclared identifier is reported only once
> ./gci/gci_call.c:173: error: for each function it appears in.)
> ./gci/gci_call.c: In function 'GCI_call':
> ./gci/gci_call.c:238: error: 'GCI_STACK_ELEMENT' undeclared (first use in 
> this function)
> ./gci/gci_call.c:238: error: expected ';' before 'buf'
> ./gci/gci_call.c:239: error: 'buf' undeclared (first use in this function)
> ./gci/gci_call.c:278: error: 'GCI_ARGS' undeclared (first use in this 
> function)
> ./gci/gci_call.c:295: warning: implicit declaration of function 'doCall'
> make[1]: *** [gci_call.sho] Error 1
> make[1]: Leaving directory `/build/tbm/regina-3.3'
> make: *** [stamp-build] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to