VirtualBox

儲存庫 vbox 的更動 63216


忽略:
時間撮記:
2016-8-9 下午03:06:50 (9 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
109844
訊息:

Devices: warnings (gcc)

位置:
trunk
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/iprt/win/objbase.h

    r62934 r63216  
    2828#define ___iprt_win_objbase_h___
    2929
    30 #pragma warning(push)
    31 #pragma warning(disable:4668) /* '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
    32 #if !defined(__cplusplus)
    33 # pragma warning(disable:4255) /* 'FARPROC' : no function prototype given: converting '()' to '(void)' */
     30#ifdef _MSC_VER
     31# pragma warning(push)
     32# pragma warning(disable:4668) /* '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' */
     33# if !defined(__cplusplus)
     34#  pragma warning(disable:4255) /* 'FARPROC' : no function prototype given: converting '()' to '(void)' */
     35# endif
    3436#endif
    3537
    3638#include <objbase.h>
    3739
    38 #pragma warning(pop)
     40#ifdef _MSC_VER
     41# pragma warning(pop)
     42#endif
    3943
    4044#endif
  • trunk/src/VBox/Devices/Makefile.kmk

    r63009 r63216  
    14561456 #  -wd4305: 'function' : truncation from 'double' to 'GLclampf'
    14571457 VBoxSVGA3D_CFLAGS.win = -wd4100  -wd4204 -wd4245 -wd4305
     1458 ifneq ($(KBUILD_TARGET),win)
     1459  VBoxSVGA3D_CFLAGS   += -Wno-unused-parameter -Wno-unused-function
     1460 endif
    14581461
    14591462 #
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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