Trouble with compiling in Release mode

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
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>c:Program FilesMicrosoft Visual Studio 10.0VCincludexutility(3354): error C2589: ( : illegal token on right side of ::
1> c:Program FilesMicrosoft Visual Studio 10.0VCincludexutility(3336) : while compiling class template member function std::_Yarn<_Elem> &std::_Yarn<_Elem>::operator =(const _Elem *)
1> with
1> [
1> _Elem=char
1> ]
1> c:Program 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>c:Program 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
 
Back
Top