From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2085 invoked by alias); 23 Aug 2013 14:20:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 2055 invoked by uid 89); 23 Aug 2013 14:20:34 -0000 X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2 Received: from mail-pb0-f44.google.com (HELO mail-pb0-f44.google.com) (209.85.160.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 23 Aug 2013 14:20:33 +0000 Received: by mail-pb0-f44.google.com with SMTP id xa7so735990pbc.3 for ; Fri, 23 Aug 2013 07:20:32 -0700 (PDT) X-Received: by 10.66.159.132 with SMTP id xc4mr21447394pab.27.1377267632418; Fri, 23 Aug 2013 07:20:32 -0700 (PDT) Received: from [192.168.1.102] ([218.72.44.193]) by mx.google.com with ESMTPSA id om2sm56636pbc.30.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 07:20:31 -0700 (PDT) Message-ID: <5217713C.4010208@gmail.com> Date: Fri, 23 Aug 2013 14:20:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0a1 MIME-Version: 1.0 To: "Bunk, Bernd" CC: Eli Zaretskii , "tromey@redhat.com" , "palves@redhat.com" , "gdb-patches@sourceware.org" Subject: Re: [PATCH v2] Added file properties to windows gdb executable for all mingw32 builds. References: <1377161766-8318-1-git-send-email-bernd.bunk@intel.com> <8361uxkbi9.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00679.txt.bz2 On 2013-8-23 21:44, Bunk, Bernd wrote: >>> > > +#include "afxres.h" >> > >> > Is this header really needed? > Yes, unfortunately. > This header file "implements" the resource language used below in the RC file. > I looked at afxres.h file under a mingw distribution (GCC 4.6.3 with MinGW-W64 API), its contents is below /** * This file has no copyright assigned and is placed in the Public Domain. * This file is part of the w64 mingw-runtime package. * No warranty is given; refer to the file DISCLAIMER.PD within this package. */ #ifndef _AFXRES_H #define _AFXRES_H #if __GNUC__ >= 3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif #ifndef _INC_WINDOWS #include #endif /* IDC_STATIC is documented in winuser.h, but not defined. */ #ifndef IDC_STATIC #define IDC_STATIC (-1) #endif #ifdef __cplusplus } #endif #endif Look, it just includes windows.h. Yuanhui Zhang