Rien ne marçhe avec codecblocks help

cs_moimeme111 Messages postés 2 Date d'inscription vendredi 16 novembre 2007 Statut Membre Dernière intervention 2 décembre 2007 - 1 déc. 2007 à 07:54
cs_moimeme111 Messages postés 2 Date d'inscription vendredi 16 novembre 2007 Statut Membre Dernière intervention 2 décembre 2007 - 2 déc. 2007 à 06:52
Salut a tous


 


Je suis capable d'écrire du text ,jouer a ni plus ni moin et morpion.Jutilise code:blocks et çela fait 2,3 fois que j'install tout il n'y a rien qui marçhe.


 


Voiçi le problème j'ai pris un code "bonhome pendu" niveau débutant télécharger a çette adresse et voiçi çe qui se passe quand j le compile:


 


Compiling: C:\Documents and Settings\Administrateur\Bureau\cppfrance_BONHOMME-PENDU-IDE-CODE-BLOCKS___Page\main.cpp
cc1plus.exe: error: unrecognized command line option "-Wstrict"
cc1plus.exe: error: unrecognized command line option "-Wwrite"
mingw32-g++.exe: unrecognized option `-prototypes'
mingw32-g++.exe: unrecognized option `-strings'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
Et quand je fais run il me dit:


 


It seems that this file has not been built yet.
Do you want to built it now.


 


Si je répond oui il me pose encore la question et plus rien.


 


Si je répond non il ajoute au texte çi-dessus.


 


Checking for existence: C:\Documents and Settings\Administrateur\Bureau\cppfrance_BONHOMME-PENDU-IDE-CODE-BLOCKS___Page\main.exe
Executing: C:\aa\CodeBlocks/cb_console_runner.exe "C:\Documents and Settings\Administrateur\Bureau\cppfrance_BONHOMME-PENDU-IDE-CODE-BLOCKS___Page\main.exe" (in C:\Documents and Settings\Administrateur\Bureau\cppfrance_BONHOMME-PENDU-IDE-CODE-BLOCKS___Page)
Process terminated with status -1073741510 (1 minutes, 35 seconds)


 


Et une fenetre s'ouvre ed c'est écrit press any key to continue.
puis la fenêtre se fermeQuelle serait le problème merçi pour votre aide.

3 réponses

acx01b Messages postés 280 Date d'inscription dimanche 7 septembre 2003 Statut Membre Dernière intervention 8 juillet 2014 6
1 déc. 2007 à 09:42
salut

l'option strict-prototypes est apparement une option C et pas C++

vas dans les build options de ton projet et enlève cette option
ou si c'est un projet C, recrée le projet en langage C
0
acx01b Messages postés 280 Date d'inscription dimanche 7 septembre 2003 Statut Membre Dernière intervention 8 juillet 2014 6
1 déc. 2007 à 09:44
ops j'ai dit une bétise

il doit y avoir quelque part une erreur dans les build options de ton projet:
-Wstrict   -prototypes
il faut enlever l'espace:
-Wstrict-prototypes

et ça te donnera un warning car ce n'est pas une option C++
0
cs_moimeme111 Messages postés 2 Date d'inscription vendredi 16 novembre 2007 Statut Membre Dernière intervention 2 décembre 2007
2 déc. 2007 à 06:52
Resalut

Je ne voie aucun strict-prototypes dans l'optionj'ai fait un programe simple Hello world! c'est un echec ???

avec l'autre programe cela marchais (devc++)
voici le code que j'ai:
#include <stdio.h>
#include <stdlib.h>







 



int main()
{
    printf("Hello world!\n");
    return 0;
}

si je fait build il affiche



-------------- Build: Debug in hello ---------------




Compiling: main.c




cc1.exe: error: unrecognized command line option "-Wstrict"




cc1.exe: error: unrecognized command line option "-Wwrite"




mingw32-gcc.exe: unrecognized option `-prototypes'




mingw32-gcc.exe: unrecognized option `-strings'




Process terminated with status 1 (0 minutes, 0 seconds)




0 errors, 0 warnings








pour le run il me pose les meme question que ci-dessus et me dit:



la meme chose que si dessus et si je dit non:










Checking for existence: C:\Documents and Settings\Administrateur\Bureau\hello\hello\bin\Debug\hello.exe




Executing: "C:\aa\CodeBlocks/cb_console_runner.exe" "C:\Documents and Settings\Administrateur\Bureau\hello\hello\bin\Debug\hello.exe" (in C:\Documents and Settings\Administrateur\Bureau\hello\hello\.)




Process terminated with status 3997696 (0 minutes, 2 seconds)
0
Rejoignez-nous