REFFMTID define in the winapi headers (was: Updated: w32api-3.8-1)

Anton Vodonosov vodonosov@mail.ru
Sat Dec 2 22:22:00 GMT 2006


Chris Sutcliffe" <ir0nh34d at gmail dot com>:
>I've made a new version of the w32api available for download.  A list
>of what has changed is below.

File /usr/include/w32api/basetyps.h. 

It would be better to have REFFMTID type defined
for C compiler as

#define REFFMTID const FMTID*

instead of 

#define REFFMTID const FMTID* const.

In the original Win32 platform SDK
it is defined as 

#define REFFMTID const IID * __MIDL_CONST

where __MIDL_CONST trurns into const only
when compiling proxy/stub for the interface 
(as far as i understand).

Current const definition prevents successful
build of, for example, clisp.

Best regards,
-Anton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list