![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Programming Error ! Programming error messages |
![]() |
|
Visual Studio 2003 to 2005 Professional, Quake 2 porting errors
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Fixed Error!
Posts: 4,202
Join Date: Mar 2007
Rep Power: 6
IM:
|
Error 1 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ...\quake2-3.21\game\m_boss31.c 31 (this seems easy enough i just declared it int) Warning 2 warning CRT1001: _vcclrit.h is deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h 33 Error 13 error C3867: 'Radar::RadarForm: ptionsMenu_Popup': function call missing argument list; use '&Radar::RadarForm: ptionsMenu_Popup' to create a pointer to member ...\quake2-3.21\radar\RadarForm.h 136 Error 14 error C3350: 'System::EventHandler' : a delegate constructor expects 2 argument(s) ...\quake2-3.21\radar\RadarForm.h 136 Error 33 error C3767: 'System::Windows::Forms::Layout::IArrang Error 34 fatal error C1192: #using failed on 'c:\documents and settings\james goppert\my documents\quake2-3.21\debug managed\radar.dll' ...\quake2-3.21\win32\init.cpp 1 Error 57 error BK1506 : cannot open file '.\debug managed\cl_cin.sbr': No such file or directory |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Fixed Error!
Posts: 4,202
Join Date: Mar 2007
Rep Power: 6
IM:
|
Error 13 error C3867: Another change due to VS 2005. Have you tried changing the code to use the "&" operator, as the error suggests? The exact verbage from the MSDN for VS2005 is: Code written for previous versions of the compiler that just used the method name will now give Compiler Error C3867 or Compiler Warning C4867. This diagnostic is required by Standard C++. Now, to create a pointer to a member function, the address of operator (&) must be used with the fully qualified name of the method. Not having to use the & operator and the fully qualified name of the method can lead to logic bugs in code due missing parentheses in function calls. Using the function's name without an argument list results in a function pointer which is convertible to several types. This code would have compiled, leading to unexpected behavior at runtime. Error 14 error C3350: When you create an instance of a delegate, you must pass two arguments, an instance of the type containing the delegate function, and the function. Without seeing the code, I'm not sure exactly what is wrong with it, but I would assume that you are not passing the two arguments you need. Error 33 error C3767: This is probably also due to a change in VS 2005. This change now makes native types private by default. Try using #pragma make_public(type) to solve this. Error 34 fatal error C1192: I'm not sure, but this could be a result of the previous errors, since you probably don't have the dll built yet. Error 57 error BK1506: VS2005 can't find the file listed. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|