delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/02/17:23:01

X-Spam-Check-By: sourceware.org
Message-ID: <4571FC9E.3010407@mail.ru>
Date: Sun, 03 Dec 2006 00:22:22 +0200
From: Anton Vodonosov <vodonosov AT mail DOT ru>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, ir0nh34d AT gmail DOT com
Subject: REFFMTID define in the winapi headers (was: Updated: w32api-3.8-1)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019