VirtualBox

Changeset 1208 in vbox


Ignore:
Timestamp:
Mar 5, 2007 12:34:14 PM (18 years ago)
Author:
vboxsync
Message:

gcc-4.1.2 of Mandriva2007.1 complains about mixed C/C++ declarations of RTASSERTVAR[]. This workaround compiles fine here with gcc-3.4.6 and 4.1.2 of Debian.

File:
1 edited

Legend:

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

    r938 r1208  
    6666 * GCC uses this.
    6767 */
     68#ifdef __GNUC__
     69__BEGIN_DECLS
     70#endif
    6871extern int RTASSERTVAR[1];
     72#ifdef __GNUC__
     73__END_DECLS
     74#endif
    6975
    7076/** @def AssertCompile
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