Changeset 72976 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jul 8, 2018 1:58:59 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123528
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp
r72823 r72976 914 914 break; 915 915 case VirtualSystemDescriptionType_Ignore: 916 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 917 case VirtualSystemDescriptionType_32BitHack: 918 #endif 916 919 break; 917 920 } -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
r72956 r72976 911 911 if (!pszDst) 912 912 return errorSyntax(USAGE_CLONEMEDIUM, "Mandatory output file parameter missing"); 913 if (fExisting && (!format.isEmpty() || enmMediumVariant != Medium Type_Normal))913 if (fExisting && (!format.isEmpty() || enmMediumVariant != MediumVariant_Standard)) 914 914 return errorSyntax(USAGE_CLONEMEDIUM, "Specified options which cannot be used with --existing"); 915 915 … … 1237 1237 pszState = "deleting"; 1238 1238 break; 1239 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 1240 case MediumState_32BitHack: break; /* Shut up compiler warnings. */ 1241 #endif 1239 1242 } 1240 1243 RTPrintf("State: %s\n", pszState); … … 1281 1284 typeStr = "multiattach"; 1282 1285 break; 1286 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 1287 case MediumType_32BitHack: break; /* Shut up compiler warnings. */ 1288 #endif 1283 1289 } 1284 1290 RTPrintf("Type: %s\n", typeStr); … … 2025 2031 * Make sure a medium was specified already. 2026 2032 */ 2027 if (pCommonOpts->enmDeviceType == MEDIUMCATEGORY_NONE)2033 if (pCommonOpts->enmDeviceType == DeviceType_Null) 2028 2034 return errorSyntax("No medium specified!"); 2029 2035 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r72919 r72976 271 271 * @param enmType Bandwidth control group type. 272 272 */ 273 inlineconst char * bwGroupTypeToString(BandwidthGroupType_T enmType)273 static const char * bwGroupTypeToString(BandwidthGroupType_T enmType) 274 274 { 275 275 switch (enmType) … … 278 278 case BandwidthGroupType_Disk: return "Disk"; 279 279 case BandwidthGroupType_Network: return "Network"; 280 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 281 case BandwidthGroupType_32BitHack: break; /* Shut up compiler warnings. */ 282 #endif 280 283 } 281 284 return "unknown"; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r69500 r72976 53 53 case HostNetworkInterfaceMediumType_SLIP: return "SLIP"; 54 54 case HostNetworkInterfaceMediumType_Unknown: return "Unknown"; 55 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 56 case HostNetworkInterfaceMediumType_32BitHack: break; /* Shut up compiler warnings. */ 57 #endif 55 58 } 56 59 return "unknown"; … … 64 67 case HostNetworkInterfaceStatus_Down: return "Down"; 65 68 case HostNetworkInterfaceStatus_Unknown: return "Unknown"; 69 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 70 case HostNetworkInterfaceStatus_32BitHack: break; /* Shut up compiler warnings. */ 71 #endif 66 72 } 67 73 return "unknown"; … … 82 88 case DeviceType_SharedFolder: return "SharedFolder"; 83 89 case DeviceType_Graphics3D: return "Graphics3D"; 90 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 91 case DeviceType_32BitHack: break; /* Shut up compiler warnings. */ 92 #endif 84 93 } 85 94 return "Unknown"; … … 381 390 case DataType_Int8: RTPrintf("byte"); break; 382 391 case DataType_String: RTPrintf("string"); break; 392 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK 393 case DataType_32BitHack: break; /* Shut up compiler warnings. */ 394 #endif 383 395 } 384 396 RTPrintf(" flags=%#04x", propertyFlags[j]);
Note:
See TracChangeset
for help on using the changeset viewer.