www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/10/05:50:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <779F20BCCE5AD31186A50008C75D9979171726@silldn_mail1.sanwaint.com>
From: "Fifer, Eric" <EFifer AT sanwaint DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Cc: "'Mumit Khan'" <khan AT NanoTech DOT Wisc DOT EDU>
Subject: RE: g++ COM problem with function pointers and -O2
Date: Wed, 10 May 2000 11:51:55 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

After seeing the description of the C++ parser bug with function
attributes under the "g++/linker bug on cygwin1.1.0 (win32)"
thread, I went back to look at the code causing my problem.

I switched some declarations around, from:

  typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
    (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);

  FNCOCREATEINSTANCEEX *pfnCoCreateInstanceEx;

to:

  HRESULT STDAPICALLTYPE (*pfnCoCreateInstanceEx)(REFCLSID,
	IUnknown*, DWORD,COSERVERINFO*, DWORD, MULTI_QI*);

And this also works around my problem.

Could this be another manifestation of the same bug?

Thanks,

Eric Fifer



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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