Changeset 63677 in vbox
- Timestamp:
- Sep 1, 2016 9:03:39 AM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r62877 r63677 1562 1562 struct dirent Entry; 1563 1563 struct dirent *pEntry; 1564 #if RT_GNUC_PREREQ(4, 6) 1565 # pragma GCC diagnostic push 1566 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 1567 #endif 1564 1568 int iErr = readdir_r(pDir, &Entry, &pEntry); 1569 #if RT_GNUC_PREREQ(4, 6) 1570 # pragma GCC diagnostic pop 1571 #endif 1565 1572 if (iErr) 1566 1573 { -
trunk/src/VBox/Main/src-server/linux/HostHardwareLinux.cpp
r62485 r63677 831 831 int err; 832 832 833 #if RT_GNUC_PREREQ(4, 6) 834 # pragma GCC diagnostic push 835 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 836 #endif 833 837 for (err = readdir_r(pDir, &entry, &pResult); pResult; 834 838 err = readdir_r(pDir, &entry, &pResult)) 839 #if RT_GNUC_PREREQ(4, 6) 840 # pragma GCC diagnostic pop 841 #endif 835 842 { 836 843 /* We (implicitly) require that PATH_MAX be defined */ -
trunk/src/VBox/Main/src-server/linux/USBGetDevices.cpp
r63378 r63677 1001 1001 int err, rc; 1002 1002 1003 #if RT_GNUC_PREREQ(4, 6) 1004 # pragma GCC diagnostic push 1005 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 1006 #endif 1003 1007 for (err = readdir_r(pDir, &entry, &pResult); pResult; 1004 1008 err = readdir_r(pDir, &entry, &pResult)) 1009 #if RT_GNUC_PREREQ(4, 6) 1010 # pragma GCC diagnostic pop 1011 #endif 1005 1012 { 1006 1013 char szPath[RTPATH_MAX + 1]; -
trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp
r62564 r63677 300 300 { 301 301 struct dirent *pResult = NULL; 302 #if RT_GNUC_PREREQ(4, 6) 303 # pragma GCC diagnostic push 304 # pragma GCC diagnostic ignored "-Wdeprecated-declarations" 305 #endif 302 306 int rc = readdir_r(pDir->pDir, &pDir->Data, &pResult); 307 #if RT_GNUC_PREREQ(4, 6) 308 # pragma GCC diagnostic pop 309 #endif 303 310 if (rc) 304 311 {
Note:
See TracChangeset
for help on using the changeset viewer.