From: "Bunk, Bernd" <bernd.bunk@intel.com>
To: asmwarrior <asmwarrior@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
"tromey@redhat.com" <tromey@redhat.com>,
"palves@redhat.com" <palves@redhat.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH v2] Added file properties to windows gdb executable for all mingw32 builds.
Date: Fri, 23 Aug 2013 14:56:00 -0000 [thread overview]
Message-ID: <E2C54CDFBA86B845B3B075E2B2042A9120256747@IRSMSX106.ger.corp.intel.com> (raw)
In-Reply-To: <5217713C.4010208@gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2109 bytes --]
> -----Original Message-----
> From: asmwarrior [mailto:asmwarrior@gmail.com]
> Sent: Friday, August 23, 2013 4:27 PM
> 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.
>
> 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
Ok, my apologies for the wrong assumption. In 13 years Windows GUI programming I haven't seen an RC file without this afxres.h include. But I just tested it and it works fine with windows.h. It even compiles and links without any include, but then the complete file properties are empty at the end. I will include windows.h. [see next update]
>
> /**
> * 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 <windows.h>
> #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
>
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
\x16º&Öéj×!zÊÞ¶êç×N9óÙb²Ö«r\x18\x1dnr\x17¬
next prev parent reply other threads:[~2013-08-23 14:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-22 8:56 Bernd Bunk
2013-08-22 15:09 ` Eli Zaretskii
2013-08-22 19:24 ` Pedro Alves
2013-08-22 19:55 ` Eli Zaretskii
2013-08-23 13:06 ` Pedro Alves
2013-08-23 13:27 ` Eli Zaretskii
2013-08-23 13:42 ` Pedro Alves
2013-08-23 14:09 ` Bunk, Bernd
2013-08-23 14:07 ` Bunk, Bernd
2013-08-23 14:38 ` Pedro Alves
2013-08-26 12:02 ` Bunk, Bernd
2013-08-26 15:42 ` Pedro Alves
2013-08-23 13:45 ` Bunk, Bernd
2013-08-23 14:20 ` asmwarrior
2013-08-23 14:56 ` Bunk, Bernd [this message]
2013-08-23 14:37 ` Eli Zaretskii
2013-08-26 12:25 ` Bunk, Bernd
2013-08-26 15:24 ` Pedro Alves
2013-08-26 12:34 ` Bunk, Bernd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E2C54CDFBA86B845B3B075E2B2042A9120256747@IRSMSX106.ger.corp.intel.com \
--to=bernd.bunk@intel.com \
--cc=asmwarrior@gmail.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox