A
Alex
Hello,
I'm working in VS 6.0. During the debuging output console gave me line
like this (there are 17 of them, all of them belong to folder include
in VC98):
:\program files\microsoft visual studio\vc98\include\new(36) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\new(36) : error
C2091: function returns function
c:\program files\microsoft visual studio\vc98\include\new(36) : error
C2809: 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\include\new(37) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\new(38) : error
C2091: function returns function
c:\program files\microsoft visual studio\vc98\include\new(38) : error
C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,const
struct std::nothrow_t &)' : overloaded function differs only by return
type from 'void *(__cdecl *__cdecl op
erator new(void))(unsigned int)'.....................
I noticed one thing. When I remove this two lines (situatuated on the
beggining of header class):
#include <vector>
using std::vector;
it's all OK. I can't understand where the problem is. I left project
settings default.
I'm working in VS 6.0. During the debuging output console gave me line
like this (there are 17 of them, all of them belong to folder include
in VC98):
:\program files\microsoft visual studio\vc98\include\new(36) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\new(36) : error
C2091: function returns function
c:\program files\microsoft visual studio\vc98\include\new(36) : error
C2809: 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\include\new(37) : error
C2059: syntax error : 'constant'
c:\program files\microsoft visual studio\vc98\include\new(38) : error
C2091: function returns function
c:\program files\microsoft visual studio\vc98\include\new(38) : error
C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,const
struct std::nothrow_t &)' : overloaded function differs only by return
type from 'void *(__cdecl *__cdecl op
erator new(void))(unsigned int)'.....................
I noticed one thing. When I remove this two lines (situatuated on the
beggining of header class):
#include <vector>
using std::vector;
it's all OK. I can't understand where the problem is. I left project
settings default.