compiler error: ‘alloc’ does not name a type
Hi!
for the code line
typedef std::__alloc raw_alloc;
I get the error:
‘__alloc’ in namespace ‘std’ does not name a type
My include files are:
#include <memory>
Actually, these code was well compiled on gcc-3.3.2, but now, on gcc-4.0.0, it fails.
By grep I found out that indeed __alloc appears in many files as a type (if I understand well the context), but I didn't succeed to grep a file in which there is "typedef" of it.
Actually, even when modifying the code line to:
typedef std::__alloc raw_alloc;
I get a similar error.
Thank you all very much in advance for helping!
|