intellisense errors.
udayakanth1122 opened this issue · 3 comments
These are the errors I have been seeing when I build the solution. How do I get rid of these errors?
Error 2 error C2051: case expression not constant C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 5596 1 AutoHotkey
Error 1 error C2065: 'AHK_CHECK_DEBUGGER' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 5596 1 AutoHotkey
Error 3 error C2039: 'HasPendingCommand' : is not a member of 'Debugger' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 5600 1 AutoHotkey
Error 4 error C2039: 'Break' : is not a member of 'Debugger' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 5635 1 AutoHotkey
Error 6 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14219 1 AutoHotkey
Error 5 error C2065: 'CriticalObject' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14219 1 AutoHotkey
56 IntelliSense: identifier "CriticalObject" is undefined c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14219 3 AutoHotkey
57 IntelliSense: identifier "criticalobj" is undefined c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14219 19 AutoHotkey
Error 9 error C2059: syntax error : ')' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14220 1 AutoHotkey
Error 7 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14220 1 AutoHotkey
Error 8 error C2065: 'CriticalObject' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14220 1 AutoHotkey
58 IntelliSense: expected an expression c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14220 40 AutoHotkey
59 IntelliSense: expected a ')' c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14220 41 AutoHotkey
60 IntelliSense: expected an expression c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14221 35 AutoHotkey
61 IntelliSense: expected a ';' c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14221 36 AutoHotkey
Error 10 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14222 1 AutoHotkey
Error 11 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14225 1 AutoHotkey
Error 12 error C2227: left of '->GetObj' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14225 1 AutoHotkey
Error 13 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14227 1 AutoHotkey
Error 14 error C2227: left of '->GetCriSec' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14227 1 AutoHotkey
Error 15 error C2653: 'CriticalObject' : is not a class or namespace name C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14229 1 AutoHotkey
Error 16 error C3861: 'Create': identifier not found C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14229 1 AutoHotkey
62 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14229 17 AutoHotkey
Error 20 error C2039: 'Create' : is not a member of 'global namespace'' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey Error 22 error C2040: 'CriticalObject' : 'int *' differs in levels of indirection from 'int' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey Error 17 error C2143: syntax error : missing ';' before '*' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey Error 21 error C2146: syntax error : missing ';' before identifier 'Create' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey Error 19 error C2825: 'CriticalObject': must be a class or namespace when followed by '::' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey Error 18 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey 63 IntelliSense: identifier "CriticalObject" is undefined c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 1 AutoHotkey 64 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14242 17 AutoHotkey Error 23 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14243 1 AutoHotkey Error 25 error C2061: syntax error : identifier 'CriticalObject' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14265 1 AutoHotkey Error 24 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14265 1 AutoHotkey 65 IntelliSense: identifier "CriticalObject" is undefined c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14265 2 AutoHotkey 66 IntelliSense: identifier "criticalobj" is undefined c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14265 18 AutoHotkey 67 IntelliSense: expected a type specifier c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14265 36 AutoHotkey Error 26 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14266 1 AutoHotkey Error 27 error C2227: left of '->object' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14266 1 AutoHotkey Error 28 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14270 1 AutoHotkey Error 29 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14270 1 AutoHotkey Error 30 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14271 1 AutoHotkey Error 31 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14271 1 AutoHotkey Error 32 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14275 1 AutoHotkey Error 33 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14275 1 AutoHotkey Error 34 error C2065: 'criticalobj' : undeclared identifier C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14276 1 AutoHotkey Error 36 error C2039: 'Delete' : is not a member of '
global namespace'' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14284 1 AutoHotkey
Error 37 error C2146: syntax error : missing ';' before identifier 'Delete' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14284 1 AutoHotkey
Error 38 error C2371: 'CriticalObject' : redefinition; different basic types C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14284 1 AutoHotkey
Error 35 error C2825: 'CriticalObject': must be a class or namespace when followed by '::' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14284 1 AutoHotkey
68 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14284 6 AutoHotkey
Error 39 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14285 1 AutoHotkey
Error 41 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14287 1 AutoHotkey
Error 40 error C2355: 'this' : can only be referenced inside non-static member functions C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14287 1 AutoHotkey
69 IntelliSense: 'this' may only be used inside a nonstatic member function c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14287 30 AutoHotkey
Error 43 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14289 1 AutoHotkey
Error 42 error C2355: 'this' : can only be referenced inside non-static member functions C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14289 1 AutoHotkey
70 IntelliSense: 'this' may only be used inside a nonstatic member function c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14289 24 AutoHotkey
Error 44 error C2248: 'ObjectBase::Delete' : cannot access protected member declared in class 'ObjectBase' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14291 1 AutoHotkey
Error 45 error C2352: 'ObjectBase::Delete' : illegal call of non-static member function C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14291 1 AutoHotkey
71 IntelliSense: a nonstatic member reference must be relative to a specific object c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14291 9 AutoHotkey
72 IntelliSense: function "ObjectBase::Delete" (declared at line 21 of "c:\users\hkalluru\downloads\dll\hotkeyit\source\script_object.h") is inaccessible c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14291 21 AutoHotkey
Error 48 error C2039: 'Invoke' : is not a member of '`global namespace'' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14294 1 AutoHotkey
Error 49 error C2146: syntax error : missing ';' before identifier 'Invoke' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14294 1 AutoHotkey
Error 51 error C2371: 'CriticalObject' : redefinition; different basic types C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14294 1 AutoHotkey
Error 47 error C2825: 'CriticalObject': must be a class or namespace when followed by '::' C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14294 1 AutoHotkey
73 IntelliSense: name followed by '::' must be a class or namespace name c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14294 30 AutoHotkey
Error 52 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14301 1 AutoHotkey
Error 55 error C1903: unable to recover from previous error(s); stopping compilation C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14303 1 AutoHotkey
Error 54 error C2227: left of '->lpCriticalSection' must point to class/struct/union/generic type C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14303 1 AutoHotkey
Error 53 error C2355: 'this' : can only be referenced inside non-static member functions C:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14303 1 AutoHotkey
74 IntelliSense: 'this' may only be used inside a nonstatic member function c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14303 35 AutoHotkey
75 IntelliSense: 'this' may only be used inside a nonstatic member function c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14306 18 AutoHotkey
76 IntelliSense: 'this' may only be used inside a nonstatic member function c:\Users\hkalluru\Downloads\DLL\HotKeyIt\source\script2.cpp 14307 24 AutoHotkey
Also with this code can I create a dll for arm?
CriticalObject class is missing from the project. Can anyone please help me with this?
Thanks!
Try again now, some files were not merged.
I have no idea if you can compile a dll for arm, but I think rather not.