C'est simplement parce que j'ai oublié de virer le cast.
Je commit à nouveau.
On x86-64 the ABI has both long double and float128 and they're both
sizeof()==16. This problem has not yet been solved - float128 and int128 are optional in the ABI so we haven't thought much about it yet.
int foo; class Bar { private: int foo; void f() { this->foo = 1; // Attribut de classe ::foo = 2; // Variable globale foo = 3; // À quoi fait référence le foo ici ? } };
int main() { int i; i=42; if (i==42) { int i; i=3; printf("%d\n",i); } printf("%d\n",i); }
3 42
int i=66; int main() { int i; i=42; if (i==42) { int i; i=3; printf("%d\n",i); } printf("%d\n",i); }
spectras (./43) :On x86-64 the ABI has both long double and float128 and they're both
sizeof()==16. This problem has not yet been solved - float128 and int128 are optional in the ABI so we haven't thought much about it yet.
squalyl (./47) :Comme le disait Godzil à sa manière, ce n'est pas possible, celle du niveau supérieur est masquée.
se compile sans warning avec gcc -W -Wall version 4.1.2, mais comment accéder à la variable globale![]()
Kevin Kofler (./59) :
Pour les variables locales en conflit avec des variables globales, c'est vraiment du "Don't Do That Then".![]()