VirtualBox

Changeset 63352 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Aug 11, 2016 10:51:56 PM (8 years ago)
Author:
vboxsync
Message:

Main: shut up two annoying and (perceived) harmless MIDL warnings, enabled every other warning. Now it only complains about IErrorInfo (standard interface?) not being related to IDispatch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/midl.xsl

    r62486 r63352  
    5353 *  Generator : src/VBox/Main/idl/midl.xsl
    5454 */
    55   </xsl:text>
    56   <xsl:text>&#x0A;</xsl:text>
    57   <xsl:text>import "unknwn.idl";&#x0A;&#x0A;</xsl:text>
     55
     56#if (__midl >= 501)
     57midl_pragma warning(disable:2456) /* Disable warning MIDL2456 regarding SAFEARRAY(interface pointer). */
     58midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */
     59#endif
     60
     61import "unknwn.idl";
     62
     63</xsl:text>
    5864  <xsl:apply-templates/>
    5965</xsl:template>
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