Note that there are some explanatory texts on larger screens.

plurals
  1. POCompiling c++ Visual C++ 7.1 solution without Visual C++
    primarykey
    data
    text
    <p>I need to build a visual c++ solution (.dsp VC++ 7.1) which was written by someone else back in 2005. I'm attempting to compile the solution in VS2010 trial but it is giving me some errors as outlined below:</p> <pre><code>error C3867: 'CServerSocket::SelfDestruct': function call missing argument list; use '&amp;CServerSocket::SelfDestruct' to create a pointer to member error C2039: 'iterator_category' : is not a member of 'CommandDispatchInserter' c:\program files\microsoft visual studio 10.0\vc\include\xutility error C2146: syntax error : missing ';' before identifier 'iterator_category' c:\program files\microsoft visual studio 10.0\vc\include\xutility error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 10.0\vc\include\xutility error C2602: 'std::iterator_traits&lt;_Iter&gt;::iterator_category' is not a member of a base class of 'std::iterator_traits&lt;_Iter&gt;' c:\program files\microsoft visual studio 10.0\vc\include\xutility </code></pre> <p>It seems from my investigations that from VS2005 onwards there are different implementations of various libraries which are causing the errors, I think the code is fairly non compliant with standards which is also a factor. Instead of amending the code to fit in with VS's requirement (which I'm fairly clueless about doing) I was wondering if there was a way of compiling this i nit's current state, short of installing an instance of VS2003. I have tried using minGW for windows but had no luck. It didn't seem to like the MFC libraries. Does anyone have any suggestions as to the most productive route to take?</p> <p>Thanks in advance</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload