VirtualBox

Ignore:
Timestamp:
Apr 23, 2019 6:41:06 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,GuestHost\OpenGL,HostServices\SharedOpenGL: Fix a bunch of compiler warnings and enable them again

Location:
trunk/src/VBox/GuestHost/OpenGL/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_spu.h

    r78190 r78263  
    114114typedef int (WGL_APIENTRY *wglDescribePixelFormatFunc_t)(HDC, int, UINT, CONST PIXELFORMATDESCRIPTOR *);
    115115typedef int (WGL_APIENTRY *wglSetPixelFormatFunc_t)(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
    116 typedef HGLRC (WGL_APIENTRY *wglGetCurrentContextFunc_t)();
    117 typedef PROC (WGL_APIENTRY *wglGetProcAddressFunc_t)();
     116typedef HGLRC (WGL_APIENTRY *wglGetCurrentContextFunc_t)(void);
     117typedef PROC (WGL_APIENTRY *wglGetProcAddressFunc_t)(LPCSTR Arg1);
    118118typedef BOOL (WGL_APIENTRY *wglChoosePixelFormatEXTFunc_t)(HDC, const int *, const FLOAT *, UINT, int *, UINT *);
    119119typedef BOOL (WGL_APIENTRY *wglGetPixelFormatAttribivEXTFunc_t)(HDC, int, int, UINT, int *, int *);
    120120typedef BOOL (WGL_APIENTRY *wglGetPixelFormatAttribfvEXTFunc_t)(HDC, int, int, UINT, int *, float *);
    121121typedef const GLubyte *(WGL_APIENTRY *glGetStringFunc_t)( GLenum );
    122 typedef const GLubyte *(WGL_APIENTRY *wglGetExtensionsStringEXTFunc_t)();
     122typedef const GLubyte *(WGL_APIENTRY *wglGetExtensionsStringEXTFunc_t)(void);
    123123typedef const GLubyte *(WGL_APIENTRY *wglGetExtensionsStringARBFunc_t)(HDC);
    124124/*@}*/
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_unpack.h

    r78198 r78263  
    9494        return; \
    9595    } \
    96     size_t int_cbAccessVerified = (a_cbAccess)
     96    size_t int_cbAccessVerified = (a_cbAccess); RT_NOREF(int_cbAccessVerified)
    9797
    9898#define CHECK_BUFFER_SIZE_STATIC_LAST(a_pState, a_offAccessLast, a_Type) CHECK_BUFFER_SIZE_STATIC(a_pState, (a_offAccessLast) + sizeof( a_Type ))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette