VirtualBox

Changeset 95972 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 1, 2022 8:05:04 PM (2 years ago)
Author:
vboxsync
Message:

Main/MediumImpl.cpp: gcc 12.1.1 workaround.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r95117 r95972  
    6565//
    6666////////////////////////////////////////////////////////////////////////////////
     67#if __cplusplus < 201700 && RT_GNUC_PREREQ(11,0) /* gcc/libstdc++ 12.1.1 errors out here because unary_function is deprecated */
     68# pragma GCC diagnostic push
     69# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     70#endif
    6771
    6872struct SnapshotRef
     
    149153
    150154typedef std::list<BackRef> BackRefList;
     155
     156#if __cplusplus < 201700 && RT_GNUC_PREREQ(11,0)
     157# pragma GCC diagnostic pop
     158#endif
     159
    151160
    152161struct Medium::Data
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