VirtualBox

Changeset 54455 in vbox


Ignore:
Timestamp:
Feb 24, 2015 3:18:33 PM (10 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,VBoxDrvGip.cpp: Using noinline instead of noinline in DECL_NO_INLINE should hopefully fix the issue with linux redefining noinline in a more permanent manner.

Location:
trunk
Files:
2 edited

Legend:

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

    r52565 r54455  
    11591159 */
    11601160#ifdef __GNUC__
    1161 # define DECL_NO_INLINE(scope,type) __attribute__((noinline)) scope type
     1161# define DECL_NO_INLINE(scope,type) __attribute__((__noinline__)) scope type
    11621162#elif defined(_MSC_VER)
    11631163# define DECL_NO_INLINE(scope,type) __declspec(noinline) scope type
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r54454 r54455  
    34863486 * @param   fTimeout            Set if it's a timeout.
    34873487 */
    3488 
    3489 /* XXX See linux-3.14/include/linux/compiler-gcc.h:
    3490  *     #define noinline __attribute__((noinline)) */
    3491 #undef noinline
    34923488DECL_NO_INLINE(static, int)
    34933489supdrvMeasureTscDeltaCallbackAbortSyncSetup(PSUPDRVGIPTSCDELTARGS pArgs, PSUPTSCDELTASYNC2 pMySync, bool fIsMaster, bool fTimeout)
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