VirtualBox

Changeset 63677 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Sep 1, 2016 9:03:39 AM (8 years ago)
Author:
vboxsync
Message:

shut up gcc for complaining about readdir_r() with glibc 2.24+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp

    r62564 r63677  
    300300        {
    301301            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
    302306            int rc = readdir_r(pDir->pDir, &pDir->Data, &pResult);
     307#if RT_GNUC_PREREQ(4, 6)
     308# pragma GCC diagnostic pop
     309#endif
    303310            if (rc)
    304311            {
Note: See TracChangeset for help on using the changeset viewer.

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