儲存庫 vbox 的更動 62774
- 時間撮記:
- 2016-7-31 下午05:44:26 (8 年 以前)
- 位置:
- trunk/src/VBox/Main
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/Makefile.kmk
r62772 r62774 1145 1145 $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE) 1146 1146 1147 ## 1148 # Edits $1 and adding #pragma directives for disabling warnings windows.h causes. 1149 # @param 1 The name of the file to edit. 1150 define def_VBoxMainDisableMscWarnings 1151 $(MV) -f "$1" "$1.tmp" 1152 $(APPEND) -nt "$1" \ 1153 '#pragma warning(push) /* -Wall and windows.h */' \ 1154 '#pragma warning(disable:4668 4255)' \ 1155 '' 1156 $(CAT_EXT) "$1.tmp" >> "$1" 1157 $(APPEND) -n "$1" \ 1158 '' \ 1159 '#pragma warning(pop)' \ 1160 '' 1161 $(RM) -f "$1.tmp" 1162 1163 endef 1164 1147 1165 # Note! Because we've got a different proxy stub DLL for pre windows 7 64-bit hosts, we target windows 7 for AMD64. 1148 1166 # The output is different and hopefully more efficient, at least memory wise (using more helpers in OLE32). … … 1161 1179 /I idl \ 1162 1180 $(call VBOX_FN_MAKE_WIN_PATH,$<) 1163 $(MV) -f "$(VBoxCOM_0_OUTDIR)/VirtualBox.h" "$(VBoxCOM_0_OUTDIR)/VirtualBox.h.tmp" 1164 $(APPEND) -nt "$(VBoxCOM_0_OUTDIR)/VirtualBox.h" \ 1165 '#pragma warning(push) /* -Wall and windows.h */' \ 1166 '#pragma warning(disable:4668)' \ 1167 '' 1168 $(CAT_EXT) "$(VBoxCOM_0_OUTDIR)/VirtualBox.h.tmp" >> "$(VBoxCOM_0_OUTDIR)/VirtualBox.h" 1169 $(APPEND) -n "$(VBoxCOM_0_OUTDIR)/VirtualBox.h" \ 1170 '' \ 1171 '#pragma warning(pop)' \ 1172 '' 1173 $(RM) -f "$(VBoxCOM_0_OUTDIR)/VirtualBox.h.tmp" 1181 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM_0_OUTDIR)/VirtualBox.h) 1182 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM_0_OUTDIR)/VirtualBox_i.c) 1174 1183 1175 1184 if defined(VBOX_WITH_MIDL_PROXY_STUB) … … 1192 1201 /I idl \ 1193 1202 $(call VBOX_FN_MAKE_WIN_PATH,$<) 1203 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM_0_OUTDIR)/legacy/VirtualBox.h) 1204 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_i.c) 1194 1205 endif 1195 1206 … … 1208 1219 /I idl \ 1209 1220 $(call VBOX_FN_MAKE_WIN_PATH,$<) 1221 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM-x86_0_OUTDIR)/VirtualBox.h) 1222 $(call def_VBoxMainDisableMscWarnings,$(VBoxCOM-x86_0_OUTDIR)/VirtualBox_i.c) 1210 1223 1211 1224 # -
trunk/src/VBox/Main/src-helper-apps/VBoxExtPackHelperApp.cpp
r62679 r62774 48 48 #ifdef RT_OS_WINDOWS 49 49 # define _WIN32_WINNT 0x0501 50 # include <iprt/win/windows.h> /* ShellExecuteEx, ++ */ 50 51 # include <Objbase.h> /* CoInitializeEx */ 51 # include <iprt/win/windows.h> /* ShellExecuteEx, ++ */52 52 # ifdef DEBUG 53 53 # include <Sddl.h> … … 296 296 #else 297 297 /** @todo TrustedInstaller? */ 298 RT_NOREF1(pszDir); 298 299 #endif 299 300 … … 339 340 static RTEXITCODE ValidateUnpackedExtPack(const char *pszDir, const char *pszTarball, const char *pszExtPackName) 340 341 { 342 RT_NOREF2(pszTarball, pszExtPackName); 341 343 RTMsgInfo("Validating unpacked extension pack..."); 342 344 … … 490 492 const char *pszTarball) 491 493 { 494 RT_NOREF1(pszTarball); 492 495 RTMsgInfo("Unpacking extension pack into '%s'...", pszDirDst); 493 496 … … 653 656 const char *pszName, const char *pszMangledName, bool fReplace) 654 657 { 658 RT_NOREF1(pszCertDir); 659 655 660 /* 656 661 * Do some basic validation of the tarball file. … … 1233 1238 int iCmd, const char *pszDisplayInfoHack) 1234 1239 { 1240 RT_NOREF1(cMyArgs); 1235 1241 RTEXITCODE rcExit = RTEXITCODE_FAILURE; 1236 1242 #ifdef RT_OS_WINDOWS … … 1320 1326 if (GetExitCodeProcess(Info.hProcess, &dwExitCode)) 1321 1327 { 1322 if (dwExitCode >= 0 && dwExitCode< 128)1328 if (dwExitCode < 128) 1323 1329 rcExit = (RTEXITCODE)dwExitCode; 1324 1330 else
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器