none
BSP Port: Inconsistent annotation for 'MIDL_user_free' and 'MIDL_user_allocate' RRS feed

  • Question

  • Porting an ARM Compact 7 BSP to Compact 2013.

    Amongst things I get (many times over):

    Two related warnings:

    ----\cesysgen\sdk\inc\wtypes.h(53) : warning C28251: Inconsistent annotation for 'MIDL_user_free': this instance has no annotations. See ---\cesysgen\sdk\inc\rpcndr.h(216). 

    and

    ----\cesysgen\sdk\inc\unknwn.h(75) : warning C28251: Inconsistent annotation for 'MIDL_user_allocate': this instance has no annotations. See ---\cesysgen\sdk\inc\rpcndr.h(215). Note: There are several prototypes for this function. This warning compares the first with instance number 3.

    The corresonding lines of code are:
    void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
    void __RPC_USER MIDL_user_free( void __RPC_FAR * );

    ===============

    There are some references to SALs  wrt these warnings:

    http://msdn.microsoft.com/en-us/library/ms182032.aspx

    Any ideas on this?

    Thanks in advance.


    DJaus Snr SW Dev (Embedded Systems and .NET)


    Thursday, May 15, 2014 6:08 AM

Answers

All replies