

- #Error c2100 illegal indirection driver
- #Error c2100 illegal indirection full
- #Error c2100 illegal indirection code
- #Error c2100 illegal indirection professional
- #Error c2100 illegal indirection windows
#Error c2100 illegal indirection code
This code would seem to lead to an inevitable BSOD.

With the information I could dig up, I concur.
#Error c2100 illegal indirection full
So my money is on: this is meant to cause a BSOD, knowing full well that this situation could realistically never occur. sys for DebugView that would deliberately cause a BSOD. And there is no indication of anything like in the. text:00010519 mov eax, ds:_imp_KeNumberProcessors which we fix by removing the * that dereferences KeNumberProcessors, which then gives us a successful compilation and the following code.
#Error c2100 illegal indirection windows
text:00010537 call ExAllocatePool(x,x)Īnd when targeting Windows XP using the WDK 7600.16385.1 we get an error during compilation: KNPs.cpp(102) : error C2100: illegal indirection When building this for Windows 2000 (free) as target (using WDK 6001.18002), we get for the line assigning nCpus and the subsequent one.

PVOID lpBuf = ExAllocatePool(NonPagedPool, nCpus * 7) You'll write this (some more code was necessary to force this code not to be optimized away): CCHAR nCpus = *KeNumberProcessors
#Error c2100 illegal indirection driver
Okay, so say you have an old driver targeting pre-XP Windows versions. This is possible whenever the author is careful enough not to use functions unavailable on Windows 2000, but available at compile and link time for the nominal target.
#Error c2100 illegal indirection professional
However, the driver does run on Windows 2000 Professional (with SP4) as I verified. The likeliest error is: error C2100: illegal indirection.Īccording to the PE header the file was created using WDK 7600.16385.1 (OS version), targeting XP (subsystem version), assuming we can trust best practices having been used to create the driver. The source incompatibility will inevitably force that the developer notices the change of type for KeNumberProcessors from PCCHAR to CCHAR. It makes perfect sense to assume that this is deliberate once piecing all the puzzle pieces together. I try to build OpenCV 4.0 with VS2015 but I stuck when ADE is compiled with several failures: Severity Code Description Project File LineĮrror C2059 syntax error: '' (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\check_cycles.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\assert.hpp 86Įrror C2893 Failed to specialize function template 'void ade::throw_error(ExceptionType &)' (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\check_cycles.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\assert.hpp 86Įrror C2059 syntax error: '' (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\passes\communications.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\assert.hpp 86Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\check_cycles.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\memory_accessor.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\search.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\subgraphs.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\passes\communications.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34Įrror C2100 illegal indirection (compiling source file C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\source\topological_sort.cpp) ade C:\opencv4\build\3rdparty\ade\ade-0.1.1d\sources\ade\include\ade\util\range_iterator.hpp 34ĭo you have any idea what to change to finish the build for ADE? I have absolutely no clue.I still think this will create a BSOD, what's more I think that this is deliberate.
