Hendricks266

DirectX function calls from hell, part 1 - G++ edition

Nov 4th, 2012
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. src/winlayer.c:1128:14: error: no matching function for call to 'IDirectInput7A::CreateDeviceEx(GUID*, const GUID*, void*, NULL)'
  2. src/winlayer.c:1128:14: note: candidate is:
  3. In file included from src/winlayer.c:10:0:
  4. c:/MinGW/sdks/dx80_mgw/include/dinput.h:2531:5: note: virtual long int IDirectInput7A::CreateDeviceEx(const GUID&, const IID&, void**, LPUNKNOWN)
  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&}'
  6. src/winlayer.c:1132:14: error: no matching function for call to 'IDirectInputDevice7A::QueryInterface(const GUID*, void**)'
  7. src/winlayer.c:1132:14: note: candidate is:
  8. In file included from src/winlayer.c:10:0:
  9. c:/MinGW/sdks/dx80_mgw/include/dinput.h:1663:5: note: virtual long int IDirectInputDevice7A::QueryInterface(const IID&, void**)
  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&}'
  11. src/winlayer.c: In function 'int32_t setgammaramp(WORD (*)[256])':
  12. src/winlayer.c:2266:14: error: no matching function for call to 'IDirectDrawSurface::QueryInterface(const GUID*, void*)'
  13. src/winlayer.c:2266:14: note: candidate is:
  14. In file included from src/winlayer.c:9:0:
  15. c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: virtual long int IDirectDrawSurface::QueryInterface(const IID&, void**)
  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&}'
  17. src/winlayer.c: In function 'int32_t getgammaramp(WORD (*)[256])':
  18. src/winlayer.c:2338:14: error: no matching function for call to 'IDirectDrawSurface::QueryInterface(const GUID*, void*)'
  19. src/winlayer.c:2338:14: note: candidate is:
  20. In file included from src/winlayer.c:9:0:
  21. c:/MinGW/sdks/dx80_mgw/include/ddraw.h:1441:5: note: virtual long int IDirectDrawSurface::QueryInterface(const IID&, void**)
  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&}'
Advertisement
Add Comment
Please, Sign In to add comment