- Timestamp:
- Aug 15, 2016 7:51:18 AM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r62885 r63459 1388 1388 /* Fend off unsupported versions. */ 1389 1389 if ( uVersion != SMC_SAVED_STATE_VERSION 1390 #if SMC_SAVED_STATE_VERSION != SMC_SAVED_STATE_VERSION_BAKA 1390 1391 && uVersion != SMC_SAVED_STATE_VERSION_BAKA 1392 #endif 1391 1393 && uVersion != SMC_SAVED_STATE_VERSION_BAKA + 1) 1392 1394 return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION; -
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r63016 r63459 64 64 /* The message sent when emulating PING */ 65 65 /* Be nice and tell them it's just a psuedo-ping packet */ 66 #if 0 66 67 static const char icmp_ping_msg[] = "This is a psuedo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n"; 68 #endif 67 69 68 70 /* list of actions for icmp_error() on RX of an icmp message */ -
trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
r63369 r63459 1504 1504 for (i = 0; i < pUrb->cIsocPkts; i++) 1505 1505 { 1506 #if RT_GNUC_PREREQ(4, 6) 1507 # pragma GCC diagnostic push 1508 # pragma GCC diagnostic ignored "-Warray-bounds" 1509 #endif 1506 1510 pUrbLnx->KUrb.iso_frame_desc[i].length = pUrb->aIsocPkts[i].cb; 1507 1511 pUrbLnx->KUrb.iso_frame_desc[i].actual_length = 0; 1508 1512 pUrbLnx->KUrb.iso_frame_desc[i].status = 0x7fff; 1513 #if RT_GNUC_PREREQ(4, 6) 1514 # pragma GCC diagnostic pop 1515 #endif 1509 1516 } 1510 1517 break; … … 1823 1830 for (i = 0, off = 0; i < pUrb->cIsocPkts; i++) 1824 1831 { 1832 #if RT_GNUC_PREREQ(4, 6) 1833 # pragma GCC diagnostic push 1834 # pragma GCC diagnostic ignored "-Warray-bounds" 1835 #endif 1825 1836 pUrb->aIsocPkts[i].enmStatus = vusbProxyLinuxStatusToVUsbStatus(pUrbLnx->KUrb.iso_frame_desc[i].status); 1826 1837 Assert(pUrb->aIsocPkts[i].off == off); 1827 1838 pUrb->aIsocPkts[i].cb = pUrbLnx->KUrb.iso_frame_desc[i].actual_length; 1828 1839 off += pUrbLnx->KUrb.iso_frame_desc[i].length; 1840 #if RT_GNUC_PREREQ(4, 6) 1841 # pragma GCC diagnostic pop 1842 #endif 1829 1843 } 1830 1844 } -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_cc.c
r62835 r63459 2167 2167 yybegin(YYS_CLAUSE); 2168 2168 2169 rv = NULL; 2169 2170 if ((err = setjmp(yypcb->pcb_jmpbuf)) != 0) 2170 2171 goto out; -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_program.c
r63199 r63459 1285 1285 } 1286 1286 } 1287 else if (target == GL_VERTEX_PROGRAM_ARB || target == GL_VERTEX_PROGRAM_NV) { 1287 else if ( target == GL_VERTEX_PROGRAM_ARB 1288 #if GL_VERTEX_PROGRAM_ARB != GL_VERTEX_PROGRAM_NV 1289 || target == GL_VERTEX_PROGRAM_NV 1290 #endif 1291 ) { 1288 1292 prog = p->currentVertexProgram; 1289 1293 if (index >= g->limits.maxVertexProgramLocalParams) { … … 1639 1643 params[3] = p->fragmentParameters[index][3]; 1640 1644 } 1641 else if (target == GL_VERTEX_PROGRAM_ARB || target == GL_VERTEX_PROGRAM_NV) { 1645 else if ( target == GL_VERTEX_PROGRAM_ARB 1646 #if GL_VERTEX_PROGRAM_ARB != GL_VERTEX_PROGRAM_NV 1647 || target == GL_VERTEX_PROGRAM_NV 1648 #endif 1649 ) { 1642 1650 if (index >= g->limits.maxVertexProgramEnvParams) { 1643 1651 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, … … 1694 1702 DIRTY(pb->fragmentEnvParameters, g->neg_bitid); 1695 1703 } 1696 else if (target == GL_VERTEX_PROGRAM_ARB || target == GL_VERTEX_PROGRAM_NV) { 1704 else if ( target == GL_VERTEX_PROGRAM_ARB 1705 #if GL_VERTEX_PROGRAM_ARB != GL_VERTEX_PROGRAM_NV 1706 || target == GL_VERTEX_PROGRAM_NV 1707 #endif 1708 ) { 1697 1709 if (index >= g->limits.maxVertexProgramEnvParams) { 1698 1710 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, -
trunk/src/VBox/Main/include/DisplayImpl.h
r63244 r63459 528 528 529 529 /* helper function, code in DisplayResampleImage.cpp */ 530 #if 0 530 531 void gdImageCopyResampled(uint8_t *dst, uint8_t *src, 531 532 int dstX, int dstY, int srcX, int srcY, 532 533 int dstW, int dstH, int srcW, int srcH); 534 #endif 533 535 534 536 void BitmapScale32(uint8_t *dst, int dstW, int dstH, -
trunk/src/VBox/Main/src-all/DisplayResampleImage.cpp
r62485 r63459 82 82 (b)) 83 83 84 #if 0 /* unused */ 84 85 void gdImageCopyResampled (uint8_t *dst, 85 86 uint8_t *src, … … 195 196 } 196 197 } 198 #endif 197 199 198 200 /* Fast integer implementation for 32 bpp bitmap scaling.
Note:
See TracChangeset
for help on using the changeset viewer.