Vim-for-Windows developers,

In the file if_ole.cpp, gcc generates a "passing NULL to non-pointer argument 
3" warning on line number 762:

    hr = RegisterActiveObject(
        app,
        MYCLSID,
        NULL,             <-----
        &app_id);

Microsoft docs say that the third argument must be either "ACTIVEOBJECT_STRONG" 
or "ACTIVEOBJECT_WEAK".  Since ACTIVEOBJECT_STRONG is a macro (in mingw) whose 
value is zero, I suspect that that is the intended argument.  This suspicion is 
reinforced by a call to "RevokeActiveObject" in if_ole.cpp which is necessary 
if STRONG has been specified.  

This is just my guess since I know very little about this Microsoft stuff.  

-mike

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui