1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546
| -*- mode: compilation; default-directory: "~/Projects/troomad/" -*-
Compilation started at Sun Sep 20 13:56:57
make -k
gcc -o lecture_fichier.o -c lecture_fichier.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
lecture_fichier.c: In function classe_entier:
lecture_fichier.c:1916:37: warning: declaration of nom shadows a global declaration [-Wshadow]
unsigned short classe_entier(char * nom)
^
In file included from lecture_fichier.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
lecture_fichier.c: In function race_entier:
lecture_fichier.c:1940:35: warning: declaration of nom shadows a global declaration [-Wshadow]
unsigned short race_entier(char * nom)
^
In file included from lecture_fichier.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
lecture_fichier.c: In function competence_entier:
lecture_fichier.c:1963:41: warning: declaration of nom shadows a global declaration [-Wshadow]
unsigned short competence_entier(char * nom)
^
In file included from lecture_fichier.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
lecture_fichier.c: In function arme_entier:
lecture_fichier.c:1986:35: warning: declaration of nom shadows a global declaration [-Wshadow]
unsigned short arme_entier(char * nom)
^
In file included from lecture_fichier.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
lecture_fichier.c: In function armure_entier:
lecture_fichier.c:2009:37: warning: declaration of nom shadows a global declaration [-Wshadow]
unsigned short armure_entier(char * nom)
^
In file included from lecture_fichier.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o gestion_glade.o -c gestion_glade.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gestion_glade.c: In function ouverture_glade:
gestion_glade.c:8:29: warning: declaration of nom shadows a global declaration [-Wshadow]
void ouverture_glade(char * nom, unsigned short connect)
^
In file included from gestion_glade.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gestion_glade.c: In function ouverture_glade_retour:
gestion_glade.c:19:48: warning: declaration of nom shadows a global declaration [-Wshadow]
struct widgets * ouverture_glade_retour(char * nom, unsigned short connect)
^
In file included from gestion_glade.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gestion_glade.c: In function ferme_glade:
gestion_glade.c:51:29: warning: unused parameter ChildWidget [-Wunused-parameter]
void ferme_glade(GtkWidget *ChildWidget , struct widgets * widgets)
^
gcc -o chaine.o -c chaine.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
chaine.c: In function simplifie_uri:
chaine.c:99:28: warning: declaration of nom shadows a global declaration [-Wshadow]
char * simplifie_uri(char *nom)
^
In file included from chaine.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o xml.o -c xml.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gcc -o envp.o -c envp.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
envp.c: In function envp_init:
envp.c:72:27: warning: unused parameter param [-Wunused-parameter]
char * envp_init(gpointer param)
^
gcc -o sorts.o -c sorts.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
sorts.c: In function lire_struct_sort:
sorts.c:89:25: warning: variable l set but not used [-Wunused-but-set-variable]
unsigned short i=0,k=0,l=0;
^
sorts.c: In function sort_entier:
sorts.c:374:33: warning: declaration of nom shadows a global declaration [-Wshadow]
signed short sort_entier(char * nom,signed short niveau,signed short version)
^
In file included from sorts.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o lire_odc.o -c lire_odc.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gcc -o groupe.o -c groupe.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
groupe.c: In function enregistre_groupe:
groupe.c:85:32: warning: comparison is always true due to limited range of data type [-Wtype-limits]
for(i=strlen(chemin_gr)-1;i>=0 && chemin_gr[i]!=SEPARATEUR;i--);
^
groupe.c:86:10: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if (i>=0) /* on ne retient que le chemin, le nom est au bout */
^
groupe.c:96:33: warning: comparison is always true due to limited range of data type [-Wtype-limits]
for(j=strlen(chaine)-1;j>=0 && chaine[j]!=SEPARATEUR;j--);
^
groupe.c:104:14: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if (j>=0) /* on ne retient que le chemin */
^
groupe.c:36:35: warning: unused parameter ChildWidget [-Wunused-parameter]
void enregistre_groupe(GtkWidget *ChildWidget , FenetrePerso * fenetre)
^
groupe.c: In function enregistre_groupe_sous:
groupe.c:186:40: warning: unused parameter ChildWidget [-Wunused-parameter]
void enregistre_groupe_sous(GtkWidget *ChildWidget, FenetrePerso * fenetre)
^
groupe.c: In function nouveau_nom_groupe:
groupe.c:207:12: warning: declaration of nom shadows a global declaration [-Wshadow]
char * nom, * pt_n, * tmp;
^
In file included from groupe.c:21:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
groupe.c:205:37: warning: unused parameter ChildWidget [-Wunused-parameter]
void nouveau_nom_groupe(GtkWidget *ChildWidget, struct callback_nv_nom * c_b)
^
groupe.c: In function ajouter_perso_groupe:
groupe.c:245:38: warning: unused parameter ChildWidget [-Wunused-parameter]
void ajouter_perso_groupe(GtkWidget *ChildWidget, FenetrePerso * fenetre)
^
groupe.c: In function ferme_nv_nom:
groupe.c:298:30: warning: unused parameter ChildWidget [-Wunused-parameter]
void ferme_nv_nom(GtkWidget *ChildWidget , GtkWidget * fenetre)
^
groupe.c: In function callback_suppr_perso_groupe:
groupe.c:707:45: warning: unused parameter button [-Wunused-parameter]
void callback_suppr_perso_groupe(GtkButton *button, perso_groupe * p_gr)
^
groupe.c: In function enregitre_perso_sous:
groupe.c:730:61: warning: declaration of perso shadows a global declaration [-Wshadow]
void enregitre_perso_sous(GtkButton *button, FenetrePerso * perso)
^
In file included from groupe.c:21:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
groupe.c:730:38: warning: unused parameter button [-Wunused-parameter]
void enregitre_perso_sous(GtkButton *button, FenetrePerso * perso)
^
groupe.c:730:61: warning: unused parameter perso [-Wunused-parameter]
void enregitre_perso_sous(GtkButton *button, FenetrePerso * perso)
^
groupe.c: In function enregitre_perso:
groupe.c:735:56: warning: declaration of perso shadows a global declaration [-Wshadow]
void enregitre_perso(GtkButton *button, FenetrePerso * perso)
^
In file included from groupe.c:21:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
groupe.c:735:33: warning: unused parameter button [-Wunused-parameter]
void enregitre_perso(GtkButton *button, FenetrePerso * perso)
^
groupe.c:735:56: warning: unused parameter perso [-Wunused-parameter]
void enregitre_perso(GtkButton *button, FenetrePerso * perso)
^
groupe.c: In function nouveau_membre_groupe:
groupe.c:740:73: warning: declaration of nom shadows a global declaration [-Wshadow]
signed short nouveau_membre_groupe(FenetrePerso * fenetre_perso, char * nom,unsigned short
^
In file included from groupe.c:21:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o zip.o -c zip.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gcc -o tirage.o -c tirage.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
tirage.c: In function applique_menu:
tirage.c:43:20: warning: declaration of perso shadows a global declaration [-Wshadow]
FenetrePerso * perso;
^
In file included from tirage.c:24:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
tirage.c:41:31: warning: unused parameter wid_appel [-Wunused-parameter]
void applique_menu(GtkWidget *wid_appel, struct widgets * widgets)
^
tirage.c: In function init_caract_voleur:
tirage.c:471:40: warning: declaration of perso shadows a global declaration [-Wshadow]
void init_caract_voleur(FenetrePerso * perso)
^
In file included from tirage.c:24:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
gcc -o ouverture.o -c ouverture.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
ouverture.c: In function ouverture:
ouverture.c:28:27: warning: unused parameter ChildWidget [-Wunused-parameter]
void ouverture(GtkWidget *ChildWidget, struct widgets * _widgets)
^
ouverture.c:28:57: warning: unused parameter _widgets [-Wunused-parameter]
void ouverture(GtkWidget *ChildWidget, struct widgets * _widgets)
^
ouverture.c: In function info_fichier:
ouverture.c:35:12: warning: declaration of nom shadows a global declaration [-Wshadow]
gchar *nom,ch[LONG];
^
In file included from ouverture.c:22:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
ouverture.c: In function ouvre_perso:
ouverture.c:115:35: warning: declaration of nom shadows a global declaration [-Wshadow]
FenetrePerso * ouvre_perso(char * nom)
^
In file included from ouverture.c:22:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
ouverture.c:119:20: warning: declaration of perso shadows a global declaration [-Wshadow]
FenetrePerso * perso=NULL;
^
In file included from ouverture.c:22:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
ouverture.c:651:39: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if (nv>=0 && nv<9 && perso->perso.livre_sorts[nv]!=NULL)
^
ouverture.c: At top level:
ouverture.c:903:7: warning: no previous declaration for ouverture_liste [-Wmissing-declarations]
void ouverture_liste(GtkWidget *ChildWidget , struct widgets * widgets)
^
ouverture.c:918:6: warning: no previous declaration for ouvre_recent [-Wmissing-declarations]
void ouvre_recent (GtkRecentChooser *chooser, gpointer user_data)
^
ouverture.c: In function ouvre_recent:
ouverture.c:918:65: warning: unused parameter user_data [-Wunused-parameter]
void ouvre_recent (GtkRecentChooser *chooser, gpointer user_data)
^
ouverture.c: In function callback_ouvre_perso:
ouverture.c:930:38: warning: unused parameter button [-Wunused-parameter]
void callback_ouvre_perso(GtkButton *button, char * ch)
^
gcc -o menu.o -c menu.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
menu.c: In function complete_menu:
menu.c:112:34: warning: unused parameter menuitem [-Wunused-parameter]
void complete_menu (GtkMenuItem *menuitem, struct widgets *widgets)
^
menu.c: In function quite_choix:
menu.c:428:29: warning: unused parameter widget [-Wunused-parameter]
void quite_choix(GtkWidget *widget, struct widgets * widgets)
^
menu.c: At top level:
menu.c:674:6: warning: no previous declaration for change_choix_sexe [-Wmissing-declarations]
void change_choix_sexe(GtkRadioButton *widget, struct widgets * widgets)
^
menu.c: In function Change_Tirage:
menu.c:840:34: warning: unused parameter menuitem [-Wunused-parameter]
void Change_Tirage (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c:840:61: warning: unused parameter widgets [-Wunused-parameter]
void Change_Tirage (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c: In function Change_Sexe:
menu.c:850:32: warning: unused parameter menuitem [-Wunused-parameter]
void Change_Sexe (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c:850:59: warning: unused parameter widgets [-Wunused-parameter]
void Change_Sexe (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c: In function Change_Pdv:
menu.c:855:31: warning: unused parameter menuitem [-Wunused-parameter]
void Change_Pdv (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c:855:58: warning: unused parameter widgets [-Wunused-parameter]
void Change_Pdv (GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c: At top level:
menu.c:975:6: warning: no previous declaration for Change_Niv [-Wmissing-declarations]
void Change_Niv(GtkMenuItem *menuitem, struct widgets * widgets)
^
menu.c: In function Change_Niv:
menu.c:975:30: warning: unused parameter menuitem [-Wunused-parameter]
void Change_Niv(GtkMenuItem *menuitem, struct widgets * widgets)
^
gcc -o main.o -c main.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
main.c: In function cb_quit:
main.c:62:30: warning: unused parameter widget [-Wunused-parameter]
gboolean cb_quit (GtkWidget *widget, GdkEvent *event, struct widgets *widgets)
^
main.c:62:49: warning: unused parameter event [-Wunused-parameter]
gboolean cb_quit (GtkWidget *widget, GdkEvent *event, struct widgets *widgets)
^
main.c:62:72: warning: unused parameter widgets [-Wunused-parameter]
gboolean cb_quit (GtkWidget *widget, GdkEvent *event, struct widgets *widgets)
^
gcc -o classe.o -c classe.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gcc -o tableaux.o -c tableaux.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gcc -o utile.o -c utile.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
utile.c: In function gtk_get_widget_by_name:
utile.c:129:64: warning: declaration of nom shadows a global declaration [-Wshadow]
GtkWidget * gtk_get_widget_by_name(GtkContainer * pere,char * nom)
^
In file included from utile.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o messages.o -c messages.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
messages.c: In function GPL:
messages.c:3:24: warning: unused parameter menuitem [-Wunused-parameter]
void GPL (GtkMenuItem *menuitem, struct widgets * _widgets)
^
messages.c:3:51: warning: unused parameter _widgets [-Wunused-parameter]
void GPL (GtkMenuItem *menuitem, struct widgets * _widgets)
^
messages.c: In function Explication:
messages.c:8:33: warning: unused parameter menuitem [-Wunused-parameter]
void Explication (GtkMenuItem *menuitem, struct widgets * _widgets)
^
messages.c:8:60: warning: unused parameter _widgets [-Wunused-parameter]
void Explication (GtkMenuItem *menuitem, struct widgets * _widgets)
^
gcc -o dieux.o -c dieux.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
dieux.c: In function Modif_dieu:
dieux.c:390:29: warning: unused parameter ChildWidget [-Wunused-parameter]
void Modif_dieu (GtkWidget *ChildWidget, struct widgets * _widgets)
^
dieux.c:390:59: warning: unused parameter _widgets [-Wunused-parameter]
void Modif_dieu (GtkWidget *ChildWidget, struct widgets * _widgets)
^
dieux.c: In function Appli_dieu:
dieux.c:525:12: warning: declaration of nom shadows a global declaration [-Wshadow]
char * nom=NULL;
^
In file included from dieux.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
dieux.c: In function Modif_Sphere:
dieux.c:659:30: warning: unused parameter ChildWidget [-Wunused-parameter]
void Modif_Sphere(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: At top level:
dieux.c:768:6: warning: no previous declaration for finir_dieu [-Wmissing-declarations]
void finir_dieu(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: In function finir_dieu:
dieux.c:768:28: warning: unused parameter ChildWidget [-Wunused-parameter]
void finir_dieu(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: At top level:
dieux.c:774:6: warning: no previous declaration for annuler_sphere [-Wmissing-declarations]
void annuler_sphere(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: In function aucune:
dieux.c:798:24: warning: unused parameter ChildWidget [-Wunused-parameter]
void aucune(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: In function Majeure:
dieux.c:803:25: warning: unused parameter ChildWidget [-Wunused-parameter]
void Majeure(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: In function mineure:
dieux.c:808:25: warning: unused parameter ChildWidget [-Wunused-parameter]
void mineure(GtkWidget *ChildWidget, struct widgets *widgets)
^
dieux.c: In function pantheon_entier:
dieux.c:1041:37: warning: declaration of nom shadows a global declaration [-Wshadow]
signed short pantheon_entier(char * nom)
^
In file included from dieux.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
dieux.c: In function dieu_entier:
dieux.c:1065:33: warning: declaration of nom shadows a global declaration [-Wshadow]
signed short dieu_entier(char * nom,signed short panth)
^
In file included from dieux.c:1:0:
include.h:412:22: warning: shadowed declaration is here [-Wshadow]
extern const gchar * nom[];
^
gcc -o modif_perso.o -c modif_perso.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
modif_perso.c: In function modif_perso:
modif_perso.c:10:52: warning: declaration of perso shadows a global declaration [-Wshadow]
void modif_perso(GtkWidget * appel, FenetrePerso * perso)
^
In file included from modif_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
modif_perso.c:10:30: warning: unused parameter appel [-Wunused-parameter]
void modif_perso(GtkWidget * appel, FenetrePerso * perso)
^
modif_perso.c: At top level:
modif_perso.c:195:6: warning: no previous declaration for ferme_modif [-Wmissing-declarations]
void ferme_modif(GtkWidget *widget, FenetrePerso * perso)
^
modif_perso.c: In function ferme_modif:
modif_perso.c:195:52: warning: declaration of perso shadows a global declaration [-Wshadow]
void ferme_modif(GtkWidget *widget, FenetrePerso * perso)
^
In file included from modif_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
modif_perso.c:195:29: warning: unused parameter widget [-Wunused-parameter]
void ferme_modif(GtkWidget *widget, FenetrePerso * perso)
^
modif_perso.c: At top level:
modif_perso.c:282:6: warning: no previous declaration for ferme_modif_perso [-Wmissing-declarations]
void ferme_modif_perso(GtkWidget *wid, FenetrePerso * perso)
^
modif_perso.c: In function ferme_modif_perso:
modif_perso.c:282:55: warning: declaration of perso shadows a global declaration [-Wshadow]
void ferme_modif_perso(GtkWidget *wid, FenetrePerso * perso)
^
In file included from modif_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
gcc -o gestion_fenetre_perso.o -c gestion_fenetre_perso.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
gestion_fenetre_perso.c: In function ferme_fenetre_perso:
gestion_fenetre_perso.c:184:57: warning: declaration of perso shadows a global declaration [-Wshadow]
void ferme_fenetre_perso(GtkWidget *wid, FenetrePerso * perso)
^
In file included from gestion_fenetre_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
gestion_fenetre_perso.c: In function destroy_fenetre_perso:
gestion_fenetre_perso.c:219:59: warning: declaration of perso shadows a global declaration [-Wshadow]
void destroy_fenetre_perso(GtkWidget *wid, FenetrePerso * perso)
^
In file included from gestion_fenetre_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
gestion_fenetre_perso.c: In function affiche_resume:
gestion_fenetre_perso.c:226:36: warning: declaration of perso shadows a global declaration [-Wshadow]
void affiche_resume(FenetrePerso * perso)
^
In file included from gestion_fenetre_perso.c:1:0:
include.h:377:3: warning: shadowed declaration is here [-Wshadow]
} perso;
^
gestion_fenetre_perso.c: In function nouveau:
gestion_fenetre_perso.c:367:25: warning: unused parameter wid [-Wunused-parameter]
void nouveau(GtkWidget *wid, struct widgets * param)
^
gestion_fenetre_perso.c:367:47: warning: unused parameter param [-Wunused-parameter]
void nouveau(GtkWidget *wid, struct widgets * param)
^
gcc -o style.o -c style.c -Wshadow -Winit-self -Wredundant-decls -Wcast-align -Wundef -Wfloat-equal -Winline -Wunreachable-code -Wmissing-declarations -Wmissing-include-dirs -Wswitch-enum -Wswitch-default -Wmain -Wall `pkg-config gtk+-3.0 --cflags` -export-dynamic -Wextra
style.c:3:10: warning: redundant redeclaration of style1 [-Wredundant-decls]
gboolean style1(GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:623:10: note: previous declaration of style1 was here
gboolean style1(GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:4:10: warning: redundant redeclaration of style2 [-Wredundant-decls]
gboolean style2(GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:624:10: note: previous declaration of style2 was here
gboolean style2(GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:5:10: warning: redundant redeclaration of style3 [-Wredundant-decls]
gboolean style3(GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:625:10: note: previous declaration of style3 was here
gboolean style3(GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:6:10: warning: redundant redeclaration of style4 [-Wredundant-decls]
gboolean style4(GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:626:10: note: previous declaration of style4 was here
gboolean style4(GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:7:10: warning: redundant redeclaration of style5 [-Wredundant-decls]
gboolean style5(GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:627:10: note: previous declaration of style5 was here
gboolean style5(GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:8:10: warning: redundant redeclaration of style_race [-Wredundant-decls]
gboolean style_race(GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets);
^
In file included from style.c:1:0:
include.h:628:10: note: previous declaration of style_race was here
gboolean style_race(GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets);
^
style.c:9:10: warning: redundant redeclaration of style_classe [-Wredundant-decls]
gboolean style_classe(GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets);
^
In file included from style.c:1:0:
include.h:629:10: note: previous declaration of style_classe was here
gboolean style_classe(GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets);
^
style.c:10:6: warning: redundant redeclaration of bord [-Wredundant-decls]
void bord (GtkWidget *ChildWidget, cairo_t *cr);
^
In file included from style.c:1:0:
include.h:622:6: note: previous declaration of bord was here
void bord (GtkWidget *ChildWidget, cairo_t *cr);
^
style.c:11:6: warning: redundant redeclaration of style [-Wredundant-decls]
void style (GtkWidget *ChildWidget, cairo_t *cr,double rouge, double vert, double bleu);
^
In file included from style.c:1:0:
include.h:621:6: note: previous declaration of style was here
void style (GtkWidget *ChildWidget, cairo_t *cr,double rouge, double vert, double bleu);
^
style.c: In function style:
style.c:272:24: warning: unused parameter ChildWidget [-Wunused-parameter]
void style (GtkWidget *ChildWidget, cairo_t *cr,double rouge, double vert, double bleu)
^
style.c: In function classe_active:
style.c:278:32: warning: unused parameter ChildWidget [-Wunused-parameter]
void classe_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
style.c:278:54: warning: unused parameter cr [-Wunused-parameter]
void classe_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
style.c:278:73: warning: unused parameter widgets [-Wunused-parameter]
void classe_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
style.c: In function race_active:
style.c:283:30: warning: unused parameter ChildWidget [-Wunused-parameter]
void race_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
style.c:283:52: warning: unused parameter cr [-Wunused-parameter]
void race_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
style.c:283:71: warning: unused parameter widgets [-Wunused-parameter]
void race_active (GtkWidget *ChildWidget, cairo_t *cr,struct widgets *widgets)
^
gcc -o test lecture_fichier.o gestion_glade.o chaine.o xml.o envp.o sorts.o lire_odc.o groupe.o zip.o tirage.o ouverture.o menu.o main.o classe.o tableaux.o utile.o messages.o dieux.o modif_perso.o gestion_fenetre_perso.o style.o `pkg-config gtk+-3.0 --libs` -export-dynamic -lzip
Compilation finished at Sun Sep 20 13:57:47 |