Problème lors de la compilation

Signaler
Messages postés
1
Date d'inscription
jeudi 17 septembre 2009
Statut
Membre
Dernière intervention
21 décembre 2013
-
Bonjour a tous, je vous écrit car j'ai un problème lorsque je compile mon projet en C++ voilà ce qu'affiche le terminal

g++ Creneau.cpp Date.cpp Edt.cpp Enseignant.cpp Etudiant.cpp Groupe.cpp Module.cpp Personne.cpp Salle_amphi.cpp Salle.cpp Salle_td.cpp Salle_tp.cpp test.cpp -fpermissive 
Creneau.cpp: In constructor `Creneau::Creneau(const Salle&, const Module&, const Date&, const Groupe&, const float&, const int&)':
Creneau.cpp:11:12: erreur: cannot convert `const Salle' to `Salle*' in assignment
Creneau.cpp:12:12: erreur: cannot convert `const Module' to `Module*' in assignment
Creneau.cpp:13:12: erreur: cannot convert `const Date' to `Date*' in assignment
Creneau.cpp:14:12: erreur: cannot convert `const Groupe' to `Groupe*' in assignment
Creneau.cpp: At global scope:
Creneau.cpp:18:79: erreur: `bool Creneau::operator!=(const Creneau&, const Creneau&) const' must take exactly one argument
Creneau.cpp:25:78: erreur: `bool Creneau::operator<(const Creneau&, const Creneau&) const' must take exactly one argument
Creneau.cpp:46:79: erreur: `bool Creneau::operator==(const Creneau&, const Creneau&) const' must take exactly one argument
Edt.cpp:8:16: erreur: expected initializer before `liste_creneau'
Edt.cpp:12:16: erreur: spécification de type retourné pour un destructeur est invalide
Edt.cpp: In member function `void Edt::creer_creneau(const int&, const string&, Date*, const int&, const float&, const int&)':
Edt.cpp:256:76: erreur: no matching function for call to `Creneau::Creneau(Salle*&, Module*&, Date*&, Groupe*&, const float&, const int&)'
Edt.cpp:256:76: note: candidates are:
In file included from Edt.h:6:0,
from Edt.cpp:3:
Creneau.h:22:3: note: Creneau::Creneau(const Salle&, const Module&, const Date&, const Groupe&, const float&, const int&)
Creneau.h:22:3: note: no known conversion for argument 1 from `Salle*' to `const Salle&'
Creneau.h:10:7: note: Creneau::Creneau(const Creneau&)
Creneau.h:10:7: note: candidate expects 1 argument, 6 provided
In file included from Module.h:8:0,
from Groupe.h:7,
from Groupe.cpp:3:
Creneau.h:16:3: erreur: `Module' does not name a type
Creneau.h:18:3: erreur: `Groupe' does not name a type
Creneau.h:22:36: erreur: `Module' does not name a type
Creneau.h:22:44: attention : ISO C++ forbids declaration of `module' with no type [-fpermissive]
Creneau.h:22:75: erreur: `Groupe' does not name a type
Creneau.h:22:84: attention : ISO C++ forbids declaration of `groupe' with no type [-fpermissive]
In file included from Module.h:8:0,
from Groupe.h:7,
from Groupe.cpp:3:
Creneau.h:36:3: erreur: `Groupe' does not name a type
Creneau.h:38:3: erreur: `Module' does not name a type
Creneau.h:42:18: erreur: `Groupe' has not been declared
Creneau.h:44:18: erreur: `Module' has not been declared
In file included from Groupe.h:7:0,
from Groupe.cpp:3:
Module.h:33:54: erreur: `Groupe' has not been declared
Salle.cpp: In member function `void Salle::set_capacite(const int&) const':
Salle.cpp:36:13: erreur: assignment of member `Salle::capacite_' in read-only object
--