Package: dossizola
Version: 1.0-8
Severity: serious

dossizola fails to build because two functions declare two-dimension
arrays without specifying the second dimension:

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g  -O2 -I/usr/include/SDL -D_REENTRANT -c 
menu.c
In file included from menu.c:3:
isola.h:227: error: array type has incomplete element type
isola.h:230: error: array type has incomplete element type
menu.c: In function 'Aide':
menu.c:17: warning: incompatible implicit declaration of built-in function 
'strlen'
menu.c: In function 'Menu':
menu.c:126: warning: incompatible implicit declaration of built-in function 
'strlen'

The attached patch fixes this problem.

-- 
Matt
diff -u dossizola-1.0/dossizola/isola.h dossizola-1.0/dossizola/isola.h
--- dossizola-1.0/dossizola/isola.h
+++ dossizola-1.0/dossizola/isola.h
@@ -224,10 +224,10 @@
 void Destructeur (JOUEUR[], GRILLE *);
 
 // Prévois les possibilités de déplacements pour chaques cases
-void Calcul_Choix (GRILLE , int[][], int , int *);
+void Calcul_Choix (GRILLE , int[][YCASEMAX+2], int , int *);
 
 // Crée une grille à partir du jeu pour calculer les déplacements possibles
-void Meilleur_Choix (GRILLE , int[][], int, JOUEUR[], int, MAX[], MAX []);
+void Meilleur_Choix (GRILLE , int[][YCASEMAX+2], int, JOUEUR[], int, MAX[], 
MAX []);
 
 // Place sur l'une des meilleurs cases
 void Ordi_Place (int *, int *, JOUEUR, GRILLE);

Attachment: signature.asc
Description: Digital signature

Reply via email to