VirtualBox

Changeset 85160 in vbox for trunk/include


Ignore:
Timestamp:
Jul 10, 2020 9:01:02 AM (5 years ago)
Author:
vboxsync
Message:

*: Some missing DECLCALLBACK/RTDECL and related nothrow issues raised by Clang. bugref:9794 bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/xml.h

    r85121 r85160  
    363363 */
    364364
     365
     366#if RT_CLANG_PREREQ(4, 0) /* VC++ needs the nothrow'ed-ness, while clang barfs at it. */
     367typedef xmlParserInput *FNEXTERNALENTITYLOADER(const char *aURI, const char *aID, xmlParserCtxt *aCtxt);
     368#else
    365369typedef DECLCALLBACKTYPE_EX(xmlParserInput *, RT_NOTHING, FNEXTERNALENTITYLOADER,(const char *aURI, const char *aID,
    366370                                                                                  xmlParserCtxt *aCtxt));
    367 typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER;
     371#endif
     372typedef FNEXTERNALENTITYLOADER *PFNEXTERNALENTITYLOADER; /**< xmlExternalEntityLoader */
    368373
    369374class RT_DECL_CLASS GlobalLock
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