Bonjour.
Lors de la compilation d'un projet relativement lourd, je me retrouve à compiler du code source fournit par yacc. Lors de la compilation voila les warnings :
Je cherche à faire en sorte que les autotools ne me génère pas la macro VERSION dans le config.h.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 In file included from ../cmath.h:31:0, from t1fonts.h:38, from device.h:18, from pars.yacc:38: ../config.h:183:17: error: expected identifier before string constant #define VERSION "1.0rc3" ^ y.tab.c:681:5: note: in expansion of macro VERSION y.tab.c:1165:0: warning: "VERSION" redefined In file included from ../cmath.h:31:0, from t1fonts.h:38, from device.h:18, from pars.yacc:38: ../config.h:183:0: note: this is the location of the previous definition #define VERSION "1.0rc3"
Je pensais trouver une macro AC_UNDEFINE ou toute autre dans le genre mais que nenni, nada !
Pouvez-vous m'ouvrir les yeux et me donner un début de solution ?
En vous remerciant par avance,
Partager