delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/12/04/15:07:19

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <20011204200317.58545.qmail@web14507.mail.yahoo.com>
Date: Wed, 5 Dec 2001 07:03:17 +1100 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: [MinGW-dvlpr] Re: src/winsup/w32api ChangeLog include/commdlg.h ...
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>,
Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
Cc: cygwin-developers AT cygwin DOT com, MD List <MinGW-Dvlpr AT sourceforge DOT net>
In-Reply-To: <3C0CD894.EBF23D3E@yahoo.com>
MIME-Version: 1.0

 --- Earnie Boyd <earnie_boyd AT yahoo DOT com> wrote: > I was coming to that
conclusion.
> 
> Thanks,
> Earnie.
> 
> Robert Collins wrote:
> > 
> > I believe that IDC_STATIC is _meant_ to be defined by the application -
> > see the second hit on that Google list for example.
> > ==
> > #ifdef IDC_STATIC
> > #undef IDC_STATIC
> > #endif
> > #define IDC_STATIC      (-1)
> > ==
> 


FWIW,  in my experince, projects written for MSVC/Borland/Watcom compilers
very rarely actually define IDC_STATIC, and the projects break on mingw
unless IDC_STATIC is defined to -1

One workaround is to have a new header winres.h , that defines IDC_STATIC
and then includes winresrc.h.    Alternatively, the define in winnt.h could
be guarded by #ifdef RC_INVOKED.

In the event, we will continue to get bug reports about windres not working
if IDC_STATIC is not defined for windres.exe  


Danny


> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> MinGW-dvlpr mailing list
> MinGW-dvlpr AT lists DOT sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr 

http://shopping.yahoo.com.au - Yahoo! Shopping
- Get organised for Christmas early this year!

- Raw text -


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