Erreur sur une fonction en C
Résolu/Fermé
fast58
Messages postés
452
Date d'inscription
jeudi 6 décembre 2007
Statut
Membre
Dernière intervention
8 août 2011
-
28 mai 2010 à 10:02
fast58 Messages postés 452 Date d'inscription jeudi 6 décembre 2007 Statut Membre Dernière intervention 8 août 2011 - 30 mai 2010 à 07:44
fast58 Messages postés 452 Date d'inscription jeudi 6 décembre 2007 Statut Membre Dernière intervention 8 août 2011 - 30 mai 2010 à 07:44
A voir également:
- Erreur sur une fonction en C
- Erreur 0x80070643 - Accueil - Windows
- Fonction si et - Guide
- Erreur 0x80070643 Windows 10 : comment résoudre le problème de la mise à jour KB5001716 - Accueil - Windows
- Erreur 1001 outlook - Accueil - Bureautique
- Une erreur inattendue s'est produite instagram ✓ - Forum Instagram
4 réponses
fast58
Messages postés
452
Date d'inscription
jeudi 6 décembre 2007
Statut
Membre
Dernière intervention
8 août 2011
24
28 mai 2010 à 11:44
28 mai 2010 à 11:44
||=== Pac Man, Debug ===|
E:\Pac Man\main.c||In function 'init':|
E:\Pac Man\main.c|35|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|38|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c||In function 'scores':|
E:\Pac Man\main.c|141|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c||In function 'winner':|
E:\Pac Man\main.c|191|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'loser':|
E:\Pac Man\main.c|197|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|215|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'affichage':|
E:\Pac Man\main.c|223|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|224|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|244|error: redefinition of 'a'|
E:\Pac Man\main.c|223|error: previous definition of 'a' was here|
E:\Pac Man\main.c|244|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|245|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|276|error: redefinition of 'a'|
E:\Pac Man\main.c|244|error: previous definition of 'a' was here|
E:\Pac Man\main.c|276|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|288|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'SDL_main':|
E:\Pac Man\main.c|339|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNKNOWN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_FIRST' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKSPACE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_TAB' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CLEAR' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RETURN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAUSE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_ESCAPE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SPACE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EXCLAIM' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_DOLLAR' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_AMPERSAND' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUOTE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_ASTERISK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PLUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COMMA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MINUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PERIOD' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SLASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COLON' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SEMICOLON' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LESS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EQUALS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_GREATER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUESTION' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_AT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKSLASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CARET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_a' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_b' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_c' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_d' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_e' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_f' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_g' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_h' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_i' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_j' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_k' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_l' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_m' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_n' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_o' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_p' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_q' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_r' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_s' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_t' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_u' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_v' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_w' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_x' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_y' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_z' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_DELETE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_10' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_11' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_12' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_13' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_14' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_15' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_16' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_17' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_18' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_19' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_20' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_21' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_22' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_23' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_24' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_25' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_26' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_27' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_28' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_29' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_30' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_31' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_32' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_33' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_34' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_35' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_36' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_37' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_38' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_39' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_40' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_41' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_42' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_43' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_44' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_45' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_46' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_47' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_48' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_49' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_50' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_51' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_52' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_53' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_54' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_55' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_56' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_57' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_58' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_59' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_60' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_61' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_62' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_63' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_64' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_65' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_66' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_67' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_68' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_69' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_70' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_71' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_72' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_73' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_74' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_75' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_76' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_77' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_78' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_79' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_80' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_81' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_82' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_83' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_84' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_85' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_86' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_87' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_88' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_89' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_90' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_91' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_92' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_93' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_94' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_95' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_MINUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_PLUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_ENTER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_INSERT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HOME' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_END' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAGEUP' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F10' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F11' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F12' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F13' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F14' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F15' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_NUMLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RSHIFT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LSHIFT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RCTRL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LCTRL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RALT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LALT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RMETA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LMETA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LSUPER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RSUPER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MODE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COMPOSE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HELP' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PRINT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SYSREQ' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BREAK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MENU' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_POWER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EURO' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNDO' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LAST' not handled in switch|
||=== Build finished: 13 errors, 234 warnings ===|
Voila tous ce que j'ai comme erreur ...
E:\Pac Man\main.c||In function 'init':|
E:\Pac Man\main.c|35|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|38|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c||In function 'scores':|
E:\Pac Man\main.c|141|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c||In function 'winner':|
E:\Pac Man\main.c|191|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'loser':|
E:\Pac Man\main.c|197|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|215|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'affichage':|
E:\Pac Man\main.c|223|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|224|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|244|error: redefinition of 'a'|
E:\Pac Man\main.c|223|error: previous definition of 'a' was here|
E:\Pac Man\main.c|244|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|245|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|276|error: redefinition of 'a'|
E:\Pac Man\main.c|244|error: previous definition of 'a' was here|
E:\Pac Man\main.c|276|error: 'for' loop initial declaration used outside C99 mode|
E:\Pac Man\main.c|288|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c||In function 'SDL_main':|
E:\Pac Man\main.c|339|warning: '_sleep' is deprecated (declared at E:/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:395)|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNKNOWN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_FIRST' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKSPACE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_TAB' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CLEAR' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RETURN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAUSE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_ESCAPE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SPACE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EXCLAIM' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_DOLLAR' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_AMPERSAND' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUOTE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_ASTERISK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PLUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COMMA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MINUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PERIOD' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SLASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COLON' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SEMICOLON' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LESS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EQUALS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_GREATER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_QUESTION' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_AT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKSLASH' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CARET' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_a' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_b' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_c' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_d' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_e' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_f' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_g' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_h' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_i' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_j' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_k' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_l' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_m' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_n' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_o' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_p' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_q' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_r' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_s' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_t' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_u' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_v' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_w' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_x' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_y' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_z' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_DELETE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_10' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_11' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_12' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_13' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_14' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_15' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_16' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_17' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_18' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_19' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_20' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_21' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_22' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_23' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_24' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_25' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_26' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_27' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_28' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_29' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_30' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_31' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_32' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_33' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_34' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_35' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_36' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_37' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_38' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_39' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_40' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_41' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_42' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_43' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_44' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_45' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_46' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_47' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_48' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_49' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_50' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_51' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_52' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_53' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_54' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_55' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_56' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_57' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_58' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_59' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_60' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_61' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_62' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_63' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_64' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_65' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_66' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_67' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_68' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_69' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_70' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_71' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_72' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_73' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_74' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_75' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_76' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_77' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_78' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_79' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_80' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_81' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_82' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_83' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_84' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_85' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_86' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_87' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_88' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_89' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_90' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_91' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_92' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_93' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_94' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_WORLD_95' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP0' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_MINUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_PLUS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_ENTER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_INSERT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HOME' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_END' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAGEUP' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F1' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F2' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F3' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F4' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F5' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F6' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F7' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F8' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F9' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F10' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F11' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F12' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F13' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F14' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_F15' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_NUMLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RSHIFT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LSHIFT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RCTRL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LCTRL' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RALT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LALT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RMETA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LMETA' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LSUPER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_RSUPER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MODE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_COMPOSE' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_HELP' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_PRINT' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_SYSREQ' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_BREAK' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_MENU' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_POWER' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_EURO' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_UNDO' not handled in switch|
E:\Pac Man\main.c|442|warning: enumeration value 'SDLK_LAST' not handled in switch|
||=== Build finished: 13 errors, 234 warnings ===|
Voila tous ce que j'ai comme erreur ...
loupius
Messages postés
697
Date d'inscription
dimanche 1 novembre 2009
Statut
Membre
Dernière intervention
31 décembre 2017
148
28 mai 2010 à 23:33
28 mai 2010 à 23:33
Il est inutile de nous balancer cinquante lignes d'erreurs; en général quelque dizaine de lignes est amplement suffisant, et bien souvent, comme ici, la première ligne indique l'anomalie.
E:\Pac Man\main.c||In function 'init':|
E:\Pac Man\main.c|35|error: 'for' loop initial declaration used outside C99 mode|
Le compilateur est clair: à la ligne 35, une déclaration dans 'for' n'est pas conforme au standard en cours.
for(int a=0; a<=18; a++) est conforme en C++... mais pas en C.
Il faut écrire:
E:\Pac Man\main.c||In function 'init':|
E:\Pac Man\main.c|35|error: 'for' loop initial declaration used outside C99 mode|
Le compilateur est clair: à la ligne 35, une déclaration dans 'for' n'est pas conforme au standard en cours.
for(int a=0; a<=18; a++) est conforme en C++... mais pas en C.
Il faut écrire:
int a; for(a=0; a<=18; a++)Bonne continuation.
fast58
Messages postés
452
Date d'inscription
jeudi 6 décembre 2007
Statut
Membre
Dernière intervention
8 août 2011
24
30 mai 2010 à 07:44
30 mai 2010 à 07:44
Merci bien =) mais on ma appris sa en C il va falloir que je change de cours alors ^^