Pb de warning
pom
-
pom -
pom -
bonjour j'ai plein de warning qui apparaissent et je ne sais pas m'en débarrasser.
Voici ma fonction
template<class T>
std::ostream & operator<<(std::ostream & os,const vector<T> & v)
{
for(int i=0;i<v.size();i++) os<<v[i]<<"\n";
os<<endl;
return os;
}
et à la compilation j'obtiens :
warning: comparison between signed and unsigned integer expressions
comment faire ?
je compile avec les options -Wall -Wno-deprecated
merci
Pom
Voici ma fonction
template<class T>
std::ostream & operator<<(std::ostream & os,const vector<T> & v)
{
for(int i=0;i<v.size();i++) os<<v[i]<<"\n";
os<<endl;
return os;
}
et à la compilation j'obtiens :
warning: comparison between signed and unsigned integer expressions
comment faire ?
je compile avec les options -Wall -Wno-deprecated
merci
Pom
A voir également:
- Pb de warning
- Symbole warning word ✓ - Forum Loisirs / Divertissements
- Warning zone telechargement - Accueil - Outils
- Cpu fan fail warning control - Forum BIOS
- Warning battery is low ✓ - Forum Matériel & Système
- Quota warning free - Guide
c'était vraiment un truc tout bête.
C'est vraiment cool ca
Pom