SHOW:
|
|
- or go back to the newest paste.
| 1 | - | src/winlayer.c:1128:14: error: no matching function for call to 'IDirectInput7A::CreateDeviceEx(GUID*, const GUID*, void*, NULL)' |
| 1 | + | src/winlayer.c:914:53: error: no viable conversion from 'const GUID' (aka 'const _GUID') to 'const GUID *const' (aka 'const _GUID *const') |
| 2 | - | src/winlayer.c:1128:14: note: candidate is: |
| 2 | + | result = IDirectInputDevice7_SetProperty(lpDID, DIPROP_DEADZONE, &dipdw.diph); |
| 3 | - | In file included from src/winlayer.c:10:0: |
| 3 | + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 | - | c:/MinGW/sdks/dx80_mgw/include/dinput.h:2531:5: note: virtual long int IDirectInput7A::CreateDeviceEx(const GUID&, const IID&, void**, LPUNKNOWN) |
| 4 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1116:33: note: expanded from macro 'DIPROP_DEADZONE' |
| 5 | - | c:/MinGW/sdks/dx80_mgw/include/dinput.h:2531:5: note: no known conversion for argument 1 from 'GUID* {aka _GUID*}' to 'const GUID& {aka const _GUID&}'
|
| 5 | + | #define DIPROP_DEADZONE MAKEDIPROP(5) |
| 6 | - | src/winlayer.c:1132:14: error: no matching function for call to 'IDirectInputDevice7A::QueryInterface(const GUID*, void**)' |
| 6 | + | ^ |
| 7 | - | src/winlayer.c:1132:14: note: candidate is: |
| 7 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1100:29: note: expanded from macro 'MAKEDIPROP' |
| 8 | - | In file included from src/winlayer.c:10:0: |
| 8 | + | #define MAKEDIPROP(prop) (*(const GUID *)(prop)) |
| 9 | - | c:/MinGW/sdks/dx80_mgw/include/dinput.h:1663:5: note: virtual long int IDirectInputDevice7A::QueryInterface(const IID&, void**) |
| 9 | + | ^ |
| 10 | - | c:/MinGW/sdks/dx80_mgw/include/dinput.h:1663:5: note: no known conversion for argument 1 from 'const GUID* {aka const _GUID*}' to 'const IID& {aka const _GUID&}'
|
| 10 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1718:75: note: expanded from macro 'IDirectInputDevice7_SetProperty' |
| 11 | - | src/winlayer.c: In function 'int32_t setgammaramp(WORD (*)[256])': |
| 11 | + | #define IDirectInputDevice7_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) |
| 12 | - | src/winlayer.c:2266:14: error: no matching function for call to 'IDirectDrawSurface::QueryInterface(const GUID*, void*)' |
| 12 | + | ^ |
| 13 | - | src/winlayer.c:2266:14: note: candidate is: |
| 13 | + | src/winlayer.c:924:53: error: no viable conversion from 'const GUID' (aka 'const _GUID') to 'const GUID *const' (aka 'const _GUID *const') |
| 14 | - | In file included from src/winlayer.c:9:0: |
| 14 | + | result = IDirectInputDevice7_SetProperty(lpDID, DIPROP_SATURATION, &dipdw.diph); |
| 15 | - | c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: virtual long int IDirectDrawSurface::QueryInterface(const IID&, void**) |
| 15 | + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 16 | - | c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: no known conversion for argument 1 from 'const GUID* {aka const _GUID*}' to 'const IID& {aka const _GUID&}'
|
| 16 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1118:33: note: expanded from macro 'DIPROP_SATURATION' |
| 17 | - | src/winlayer.c: In function 'int32_t getgammaramp(WORD (*)[256])': |
| 17 | + | #define DIPROP_SATURATION MAKEDIPROP(6) |
| 18 | - | src/winlayer.c:2338:14: error: no matching function for call to 'IDirectDrawSurface::QueryInterface(const GUID*, void*)' |
| 18 | + | ^ |
| 19 | - | src/winlayer.c:2338:14: note: candidate is: |
| 19 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1100:29: note: expanded from macro 'MAKEDIPROP' |
| 20 | - | In file included from src/winlayer.c:9:0: |
| 20 | + | #define MAKEDIPROP(prop) (*(const GUID *)(prop)) |
| 21 | - | c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: virtual long int IDirectDrawSurface::QueryInterface(const IID&, void**) |
| 21 | + | ^ |
| 22 | - | c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: no known conversion for argument 1 from 'const GUID* {aka const _GUID*}' to 'const IID& {aka const _GUID&}' |
| 22 | + | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1718:75: note: expanded from macro 'IDirectInputDevice7_SetProperty' |
| 23 | #define IDirectInputDevice7_SetProperty(p,a,b) (p)->lpVtbl->SetProperty(p,a,b) | |
| 24 | ^ | |
| 25 | src/winlayer.c:960:53: error: no viable conversion from 'const GUID' (aka 'const _GUID') to 'const GUID *const' (aka 'const _GUID *const') | |
| 26 | result = IDirectInputDevice7_GetProperty(lpDID, DIPROP_DEADZONE, &dipdw.diph); | |
| 27 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 28 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1116:33: note: expanded from macro 'DIPROP_DEADZONE' | |
| 29 | #define DIPROP_DEADZONE MAKEDIPROP(5) | |
| 30 | ^ | |
| 31 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1100:29: note: expanded from macro 'MAKEDIPROP' | |
| 32 | #define MAKEDIPROP(prop) (*(const GUID *)(prop)) | |
| 33 | ^ | |
| 34 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1717:75: note: expanded from macro 'IDirectInputDevice7_GetProperty' | |
| 35 | #define IDirectInputDevice7_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) | |
| 36 | ^ | |
| 37 | src/winlayer.c:970:53: error: no viable conversion from 'const GUID' (aka 'const _GUID') to 'const GUID *const' (aka 'const _GUID *const') | |
| 38 | result = IDirectInputDevice7_GetProperty(lpDID, DIPROP_SATURATION, &dipdw.diph); | |
| 39 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 40 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1118:33: note: expanded from macro 'DIPROP_SATURATION' | |
| 41 | #define DIPROP_SATURATION MAKEDIPROP(6) | |
| 42 | ^ | |
| 43 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1100:29: note: expanded from macro 'MAKEDIPROP' | |
| 44 | #define MAKEDIPROP(prop) (*(const GUID *)(prop)) | |
| 45 | ^ | |
| 46 | c:/MinGW/sdks/dx80_mgw/include\dinput.h:1717:75: note: expanded from macro 'IDirectInputDevice7_GetProperty' | |
| 47 | #define IDirectInputDevice7_GetProperty(p,a,b) (p)->lpVtbl->GetProperty(p,a,b) | |
| 48 | ^ |