Hello,

J'ai un problème étrange avec ce code très simple:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
#include <tr1/memory>
 
int main(){
 return 0 ; 
}
L'erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
<command-line>:0:5: error: expected ']' before numeric constant
/sources/main.cpp:5:1: error: expected identifier at end of input
 }
 ^
/sources/main.cpp:5:1: error: expected unqualified-id at end of input
/sources/main.cpp:5:1: error: expected '}' at end of input
J'ai fait un test sans la ligne #include <tr1/memory> et ça marche. Comme j'en ai besoin pour plus tard, je me demande comment faire.

Pouvez-vous m'aider ?
Thanks.