From: Daniel Jacobowitz <dan@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Corinna Vinschen <vinschen@redhat.com>, Tom Tromey <tromey@redhat.com>
Subject: Windows charset change
Date: Thu, 11 Mar 2010 18:18:00 -0000 [thread overview]
Message-ID: <20100311181801.GF9310@caradoc.them.org> (raw)
My mingw builds have:
charset.c: In function '_initialize_charset':
charset.c:935: error: type defaults to 'int' in declaration of 'w32_host_default_charset'
charset.c:938: error: implicit declaration of function 'GetACP'
charset.c:938: error: passing argument 1 of 'snprintf' from incompatible pointer type
charset.c:939: error: assignment from incompatible pointer type
The error on line 935 is straightforward:
static w32_host_default_charset[16]; /* "CP" + x<=5 digits + paranoia. */
This is supposed to be char, I presume?
The implicit declaration of GetACP is harder; I don't know what should
have been included to declare it. Looks like windows.h or winnls.h.
--
Daniel Jacobowitz
CodeSourcery
next reply other threads:[~2010-03-11 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 18:18 Daniel Jacobowitz [this message]
2010-03-11 18:21 ` Tom Tromey
2010-03-11 19:51 ` Eli Zaretskii
2010-03-14 22:40 ` Daniel Jacobowitz
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=20100311181801.GF9310@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
--cc=vinschen@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