Erreur de compilation avec include de tr1/memory
Hello,
J'ai un problème étrange avec ce code très simple:
Code:
1 2 3 4 5
| #include <tr1/memory>
int main(){
return 0 ;
} |
L'erreur:
Code:
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.