VirtualBox

Changeset 88324 in vbox for trunk


Ignore:
Timestamp:
Mar 30, 2021 4:57:23 PM (4 years ago)
Author:
vboxsync
Message:

gccplugin: gcc 7 fixes (and adjust the previously gcc 10 and later ones to 8, because 8.3.0 has them)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp

    r85502 r88324  
    243243        type_required           : true,
    244244        function_type_required  : true,
    245 # if RT_GNUC_PREREQ(4, 6)
     245// gcc 7.3 at least moves this field to after "handler", and with 8.3 it is back
     246#if RT_GNUC_PREREQ(4, 6) && !(RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0))
    246247        affects_type_identity   : false,
    247248#endif
    248249        handler                 : AttributeHandler,
    249 # if RT_GNUC_PREREQ(10, 0)
     250#if RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0)
     251        affects_type_identity   : false,
     252#endif
     253#if RT_GNUC_PREREQ(8, 0)
    250254        exclude                 : NULL,
    251 # endif
     255#endif
    252256    },
    253257    {
     
    258262        type_required           : true,
    259263        function_type_required  : true,
    260 # if RT_GNUC_PREREQ(4, 6)
     264#if RT_GNUC_PREREQ(4, 6) && !(RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0))
    261265        affects_type_identity   : false,
    262266#endif
    263267        handler                 : AttributeHandler,
    264 # if RT_GNUC_PREREQ(10, 0)
     268#if RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0)
     269        affects_type_identity   : false,
     270#endif
     271#if RT_GNUC_PREREQ(8, 0)
    265272        exclude                 : NULL,
    266 # endif
     273#endif
    267274    }
    268275};
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