I can't find the way fixing: formal parameter 1 difference from declaration
I've got same errors as you but i fixed all except that formal parameter thing :S
EDIT:i somehow fixed formal parameter 1 difference from declaration this way:I opened ASR(actual search & replace).
Path: C:\WinDDK
Searched for:C4028
Found:warning.h
i opened warning.h with notepad searched for C4028 with notepad.
heres part of the code:
// Ignoring these warnings can cause blatantly incorrect code generation.
// Since not all projects are -W4 -WX, treat as errors explicitly
#pragma warning(error:4028) // C4028: formal parameter different from declaration
#pragma warning(error:4029) // C4029: declared formal parameter list different from definition
-->typed disable instead of error at (error:4028)-->(disable:4028)
// Ignoring these warnings can cause blatantly incorrect code generation.
// Since not all projects are -W4 -WX, treat as errors explicitly
#pragma warning(disable:4028) // C4028: formal parameter different from declaration
#pragma warning(error:4029) // C4029: declared formal parameter list different from definition
BUT there is one more thing.as it says: ignoring these warnings can cause blatantly incorrect code generation. so is my code now incorrect :O?
is there any other way to fix that parameter thing? im little stupid .
My .sys file is now compiled but after compiling i got bunch of OACR Warnings
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum