views:

25

answers:

1

not able to upload img .. please check at following site... http://i40.tinypic.com/ilzyqa.gif

+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
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
@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