VirtualBox

Changeset 1636 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Mar 22, 2007 5:30:13 PM (18 years ago)
Author:
vboxsync
Message:

warnings.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/audio.h

    r355 r1636  
    107107void AUD_vlog (const char *cap, const char *fmt, va_list ap);
    108108void AUD_log (const char *cap, const char *fmt, ...)
    109 #ifdef __GNUC__
     109#if defined (__GNUC__) && !defined (VBOX) /* VBox: oh, please, shut up. */
    110110    __attribute__ ((__format__ (__printf__, 2, 3)))
    111111#endif
  • trunk/src/VBox/Devices/Audio/audio_int.h

    r366 r1636  
    245245}
    246246
    247 #if defined __GNUC__
     247#if defined __GNUC__ && !defined VBOX /* VBox: oh, please, just shut up. */
    248248#define GCC_ATTR __attribute__ ((__unused__, __format__ (__printf__, 1, 2)))
    249249#if __STDC_VERSION__ > 199901L
     
    259259#endif
    260260
     261#ifndef VBOX
    261262static void GCC_ATTR dolog (const char *fmt, ...)
     263#else
     264DECLINLINE(void) GCC_ATTR dolog (const char *fmt, ...) /* shuts up unused warnings. */
     265#endif
    262266{
    263267    va_list ap;
     
    283287#define ldebug __noop
    284288#else
     289#ifndef VBOX
    285290static void GCC_ATTR ldebug (const char *fmt, ...)
     291#else
     292DECLINLINE(void) GCC_ATTR ldebug (const char *fmt, ...)  /* shuts up unused warnings. */
     293#endif
    286294{
    287295    (void) fmt;
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