Compilation avec gcc: initialization from incompatible pointer type
Hello world
Je reprend un code dont je ne connais quasiment rien, la bonne nouvelle à la première compile il y a peu d'erreur, 3 pour être précis, la mauvaise erreur sur des pointeurs.....
C'est à chaque fois la même chose mais sur des fonction différentes:
Code:
1 2 3
|
attention : initialization from incompatible pointer type [-Wincompatible-pointer-types]
ULONG(*MmQueryAddressProtectFix)(IN PVOID VirtualAddress) = &MmQueryAddressProtect; |
Code:
1 2 3
|
attention : initialization from incompatible pointer type [-Wincompatible-pointer-types]
KIRQL(*KeRaiseIrqlToDpcLevelFix)(void) = &KeRaiseIrqlToDpcLevel; |
Code:
1 2 3
|
attention : initialization from incompatible pointer type [-Wincompatible-pointer-types]
VOID(*KfLowerIrqlFix)( KIRQL NewIrql ) = &KfLowerIrql; |
J'utilise cygwin sur windows 7 64 bit.
Auriez vous une idée SVP?
Merci