1267Fermer1269
FarewellLe 14/05/2010 à 15:18
Bon, je man ici : http://linux.die.net/man/1/g++

J'ai trouvé ça déjà :
The following -W... options are not affected by -Wall.
-Weffc++ (C ++ only)
    Warn about violations of the following style guidelines from Scott Meyers' Effective C ++ book: 
    *

    Item 11: Define a copy constructor and an assignment operator for classes with dynamically allocated memory.

    *

    Item 12: Prefer initialization to assignment in constructors. 

On parle ici de l'item 12 apparemment, et je parlais tout à l'heure du 11, à propos de la mise en private des opérateurs de copie et d'affectation.

en effet, j'avais activé ce switch (en fait, tous les switches ressemblant de près ou de loin à des warnings grin)