EDN Admin
Well-known member
Hello, title says it all.
I can compile just fine in Debug mode though so I have absolutely no idea what is wrong with the application code.
When I try to compile in Release mode I get this in the output build window (multiple times):
<pre class="prettyprint" style=" 1>crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3354): error C2589: ( : illegal token on right side of ::
1> crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3336) : while compiling class template member function std::_Yarn<_Elem> &std::_Yarn<_Elem>:perator =(const _Elem *)
1> with
1> [
1> _Elem=char
1> ]
1> crogram FilesMicrosoft Visual Studio 10.0VCincludexlocinfo(192) : see reference to class template instantiation std::_Yarn<_Elem> being compiled
1> with
1> [
1> _Elem=char
1> ]
1>crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3354): error C2059: syntax error : ::[/code]
<br/>
As you can see there is not even an indication what could be wrong in the code since it points only to internal vc files.
Maybe I should also mention that the application was written before for Microsoft Visual C++ 6.0 so perhaps it has something to do with the changed syntax from back then?
Anyway I hope you can give me some more insight on this problem, thanks in advance
<br/>
View the full article
I can compile just fine in Debug mode though so I have absolutely no idea what is wrong with the application code.
When I try to compile in Release mode I get this in the output build window (multiple times):
<pre class="prettyprint" style=" 1>crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3354): error C2589: ( : illegal token on right side of ::
1> crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3336) : while compiling class template member function std::_Yarn<_Elem> &std::_Yarn<_Elem>:perator =(const _Elem *)
1> with
1> [
1> _Elem=char
1> ]
1> crogram FilesMicrosoft Visual Studio 10.0VCincludexlocinfo(192) : see reference to class template instantiation std::_Yarn<_Elem> being compiled
1> with
1> [
1> _Elem=char
1> ]
1>crogram FilesMicrosoft Visual Studio 10.0VCincludexutility(3354): error C2059: syntax error : ::[/code]
<br/>
As you can see there is not even an indication what could be wrong in the code since it points only to internal vc files.
Maybe I should also mention that the application was written before for Microsoft Visual C++ 6.0 so perhaps it has something to do with the changed syntax from back then?
Anyway I hope you can give me some more insight on this problem, thanks in advance
<br/>
View the full article