VirtualBox

Changeset 64324 in vbox for trunk/src/VBox/Devices/USB/linux


Ignore:
Timestamp:
Oct 19, 2016 4:50:12 PM (8 years ago)
Author:
vboxsync
Message:

gcc 6.2 fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp

    r64294 r64324  
    111111typedef struct USBPROXYURBLNX
    112112{
    113     /** The kernel URB data */
     113    /** The kernel URB data. */
     114#if RT_GNUC_PREREQ(4, 6)
     115    /* gcc 6.2 complains about the [] member of KUrb */
     116# pragma GCC diagnostic push
     117# pragma GCC diagnostic ignored "-Wpedantic"
     118#endif
    114119    struct usbdevfs_urb             KUrb;
     120#if RT_GNUC_PREREQ(4, 6)
     121# pragma GCC diagnostic pop
     122#endif
    115123    /** Space filler for the isochronous packets. */
    116124    struct usbdevfs_iso_packet_desc aIsocPktsDonUseTheseUseTheOnesInKUrb[8];
     
    122130    struct USBPROXYURBLNX           *pSplitNext;
    123131    /** Don't report these back. */
    124     bool                             fCanceledBySubmit;
     132    bool                            fCanceledBySubmit;
    125133    /** This split element is reaped. */
    126     bool                             fSplitElementReaped;
     134    bool                            fSplitElementReaped;
    127135    /** Size to transfer in remaining fragments of a split URB */
    128     uint32_t                         cbSplitRemaining;
     136    uint32_t                        cbSplitRemaining;
    129137} USBPROXYURBLNX, *PUSBPROXYURBLNX;
    130138
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