VirtualBox

vbox的更動 63118 路徑 trunk/src


忽略:
時間撮記:
2016-8-6 下午09:19:19 (8 年 以前)
作者:
vboxsync
訊息:

GuestHost/OpenGL: Warnings (forgotten yesterday)

位置:
trunk/src/VBox/GuestHost/OpenGL
檔案:
修改 5 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/include/chromium.h

    r63038 r63118  
    2222
    2323#ifdef IN_RING0
     24
     25# ifndef VBOXVIDEOLOG_H
     26#  undef WARN     /* VBoxMpUtils.h includes common/VBoxVideoLog.h which */
     27#  undef LOG      /* uncondtionally redefines these three macros. */
     28#  undef LOGREL
     29# endif
    2430# include <common/VBoxMPUtils.h>
     31
    2532# define WINGDIAPI /* gl/gl.h is using this (wingdi.h defines it a __declspec(dllimport) normaly).  */
     33
    2634#endif
    2735
     
    3644#if defined(WINDOWS)
    3745# ifdef IN_RING0
    38 #  error "should not happen!"
     46#  error "should not happen!" /* bird: This is certifiably insane, in my opinion. */
    3947# endif
    4048# define WIN32_LEAN_AND_MEAN
     
    5664
    5765#ifndef WINDOWS
     66# ifndef RT_OS_WINDOWS /* If we don't need it in ring-3, we probably not need it in ring-0 either (triggers warnings). */
    5867#include <GL/glu.h>
     68# endif /* !RT_OS_WINDOWS */
    5969#endif
    6070
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_pack.h

    r62812 r63118  
    9797# define CR_PACKER_CONTEXT_ARGDECL
    9898# define CR_PACKER_CONTEXT_ARG
     99# define CR_PACKER_CONTEXT_ARG_NOREF()  do {} while (0)
    99100# define CR_PACKER_CONTEXT_ARGCTX(C)
    100101# ifdef CHROMIUM_THREADSAFE
     
    114115# define CR_PACKER_CONTEXT_ARGDECL CR_PACKER_CONTEXT_ARGSINGLEDECL,
    115116# define CR_PACKER_CONTEXT_ARG _pCtx,
     117# define CR_PACKER_CONTEXT_ARG_NOREF() RT_NOREF_PV(_pCtx)
    116118# define CR_PACKER_CONTEXT_ARGCTX(C) C,
    117119# define CR_GET_PACKER_CONTEXT(C) CRPackContext *C = _pCtx
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_buffer.c

    r46757 r63118  
    7676#ifndef IN_RING0
    7777/* This is useful for debugging packer problems */
    78 void crPackSetBufferDEBUG( const char *file, int line,
    79                                                                                                          CRPackContext *pc, CRPackBuffer *buffer)
     78void crPackSetBufferDEBUG( const char *file, int line, CRPackContext *pc, CRPackBuffer *buffer)
    8079                                                   
    8180{
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_visibleregion.c

    r62814 r63118  
    5353void PACK_APIENTRY crPackWindowVisibleRegionSWAP( CR_PACKER_CONTEXT_ARGDECL  GLint window, GLint cRects, const GLint * pRects )
    5454{
    55     RT_NOREF3(window, cRects, pRects);
     55    RT_NOREF3(window, cRects, pRects); CR_PACKER_CONTEXT_ARG_NOREF();
    5656    crError( "crPackWindowVisibleRegionSWAP unimplemented and shouldn't be called" );
    5757}
  • trunk/src/VBox/GuestHost/OpenGL/util/sortarray.cpp

    r62492 r63118  
    151151        return crSaInsAt(pArray, 0, element);
    152152
     153    el = element; /* Shup up MSC. */
    153154    while (iMin < iMax)
    154155    {
     
    336337static int crSaClone(const CR_SORTARRAY *pArray1, CR_SORTARRAY *pResult)
    337338{
    338     int rc = 0;
    339339    CrSaClear(pResult);
    340340
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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