VirtualBox

Changeset 75118 in vbox for trunk


Ignore:
Timestamp:
Oct 26, 2018 7:51:55 PM (6 years ago)
Author:
vboxsync
Message:

RTCp.cpp: make a compile assertion which gcc 8.2 does not like conditional. Fix non-GNU platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTCp.cpp

    r75117 r75118  
    104104        RT_ZERO(DstObjInfo);
    105105/* gcc 8.2 produces a tautological compare warning here. */
    106 #if __GNUC__ != 8 || __GNUC_MINOR__ != 2
     106#if !defined __GNUC__ || __GNUC__ != 8 || __GNUC_MINOR__ != 2
    107107    AssertCompile(!RTFS_IS_DIRECTORY(0));
    108108#endif
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