not able to upload img .. please check at following site... http://i40.tinypic.com/ilzyqa.gif
views:
25answers:
1
+1
A:
It is very likely that the error was caused by some error in a header file that was included before <allocator>
. For example
// myfile.cpp
#include "myfile.h"
#include <vector> // I'd expect this to include <allocator>
//
// more stuff
//
// EOF myfile.cpp
If there's an error in "myfile.h"
, it might cause a compilation error in <vector>
or one of the headers <vector>
includes. A common candidate is a missing ;
after a class definition in "myfile.h"
.
sbi
2010-04-20 11:07:47
thx for your response..yes m using GCC 3.4.4 includes ..but then i removed those and put 4.3.4 includes then error is not coming anymore.. not sure really
rupali
2010-04-21 05:37:48
@rupali: So are you using GCC 4.2.4? If so, I'd doubt that the includes for GCC 3.4.4 would work. (But I don't know GCC well enough.)
sbi
2010-04-21 09:11:37