Hello
I am trying to build swish-e-2.2.3 but both on SGI and Sun with native
compilers I get the following error. It seems that zero-sized arrays are a
non-standard exension of ANSI C. Any help would be welcome.
Thank you
---- Sun/Solaris ----
cc -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2.3\" -Iexpat/xmltok -Iexpat/xmlparse
-I/usr/include/libxml2/libxml -I/usr/include/libxml2 -O -c -o btree.o
btree.c
"./btree.h", line 19: zero or negative subscript
---- SGI/IRIX -----
cc-1094 cc: ERROR File = btree.h, Line = 19
The constant array dimension size is not a positive integral type.
unsigned char data[0]; /* Page data */
^
***************************************************************************
DISCLAIMER: Este mensaje contiene información propietaria
de la cual parte o toda puede contener información confidencial
o protegida legalmente. Esta exclusivamente destinado al
usuario de destino.
Si, por un error de envio o transmisión, ha recibido este mensaje
y usted no es el destinatario del mismo, por favor, notifique
de este hecho al remitente.
Si no es el destinatario final de este mensaje no debe usar,
informar, distribuir, imprimir, copiar o difundir este mensaje
bajo ningún medio.
---------
DISCLAIMER: This e-mail contains propietary information some
or all of which may be legally privileged. It is for the intended
recipient only. If an addressing or transmission error has
misdirected this e-mail, please notify the author by replying to
this e-mail. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or rely on this e-mail.
***************************************************************************
Received on Wed Mar 19 11:17:07 2003