Error in xmemory?

I'm writing a program that I have recently made some moderate additions to.

However, on compiling I now get the following error:
"c:\program files\microsoft visual studio 9.0\vc\include\xmemory(52) : error C2075: 'Target of operator new()' : array initialization needs curly braces"

There is no indication which line of my program this error is connected to. I've never touched or opened xmemory before, and haven't included it as a header in my program.

What are the possible causes of this kind of error? What does it mean? Any help would be appreciated.

Thanks.



The full error is below:

c:\program files\microsoft visual studio 9.0\vc\include\xmemory(52) : error C2075: 'Target of operator new()' : array initialization needs curly braces
c:\program files\microsoft visual studio 9.0\vc\include\xmemory(155) : see reference to function template instantiation 'void std::_Construct<char[100],const char[100]>(_T1 (*),_T2 (&))' being compiled
with
[
_T1=char [100],
_T2=const char [100]
]
c:\program files\microsoft visual studio 9.0\vc\include\xmemory(154) : while compiling class template member function 'void std::allocator<_Ty>::construct(char (*)[100],const _Ty (&))'
with
[
_Ty=char [100]
]
c:\program files\microsoft visual studio 9.0\vc\include\deque(481) : see reference to class template instantiation 'std::allocator<_Ty>' being compiled
with
[
_Ty=char [100]
]
c:\program files\microsoft visual studio 9.0\vc\include\deque(496) : see reference to class template instantiation 'std::_Deque_map<_Ty,_Alloc>' being compiled
with
[
_Ty=char [100],
_Alloc=std::allocator<char [100]>
]
c:\program files\microsoft visual studio 9.0\vc\include\deque(514) : see reference to class template instantiation 'std::_Deque_val<_Ty,_Alloc>' being compiled
with
[
_Ty=char [100],
_Alloc=std::allocator<char [100]>
]
c:\documents and settings\owner\my documents\visual studio 2008\projects\hmm\hmm\hmm.cpp(46) : see reference to class template instantiation 'std::deque<_Ty>' being compiled
with
[
_Ty=char [100]
]
Topic archived. No new replies allowed.