VirtualBox

Changeset 84511 in vbox


Ignore:
Timestamp:
May 25, 2020 3:19:43 PM (5 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h: The extension trick works for gcc 8.4 as well. bugref:9746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r84510 r84511  
    25642564 || (defined(__cplusplus) && (   RT_GNUC_PREREQ(6, 1) \
    25652565                              && (  !RT_GNUC_PREREQ(7, 0) /* gcc-7 warns again */ \
    2566                                   || RT_GNUC_PREREQ(9, 0) /* gcc-9 works with __extension__, the ones in between needs testing */ ))) \
     2566                                  || RT_GNUC_PREREQ(8, 0) /* gcc-8 works with __extension__, the ones in between needs testing */ ))) \
    25672567 || defined(__WATCOMC__) /* openwatcom 1.9 supports it, we don't care about older atm. */ \
    25682568 || RT_CLANG_PREREQ_EX(3, 4, 0) /* Only tested clang v3.4, support is probably older. */
     
    25852585 * pedantic warnings are enabled.  Put this on the line before the flexible
    25862586 * array. */
    2587 #if (RT_GNUC_PREREQ(9, 0) && defined(__cplusplus)) || defined(DOXGYEN_RUNNING)
     2587#if (RT_GNUC_PREREQ(8, 0) && defined(__cplusplus)) || defined(DOXGYEN_RUNNING)
    25882588# define RT_FLEXIBLE_ARRAY_EXTENSION            RT_GCC_EXTENSION
    25892589#else
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