unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org
Subject: Re: National Language Support Functions
Date: Mon, 25 Dec 2006 15:17:42 +0900	[thread overview]
Message-ID: <E1Gyj9a-00019e-9p@etlken.m17n.org> (raw)
In-Reply-To: <uy7p0ktzh.fsf@gnu.org> (message from Eli Zaretskii on Fri, 22 Dec 2006 14:14:42 +0200)

In article <uy7p0ktzh.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:

> Could people who have access to MS-Windows please try these two
> programs and report the results?  It is important to describe the full
> details about your regional and international settings (found in
> Control Panel) on each machine where you test this.

I couldn't compile the second program (saved as mstest.c) by
gcc in my Cygwin environment.  This is the error log.

[IBM-F5F27A11743:~:516] gcc mstest.c
mstest.c:4:19: tchar.h: No such file or directory
mstest.c: In function `main':
mstest.c:43: warning: passing arg 1 of `GetModuleHandleA' makes pointer from integer without a cast
mstest.c:49: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast
mstest.c:56: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast
mstest.c:68: warning: passing arg 2 of `RegOpenKeyExA' makes pointer from integer without a cast
mstest.c:83: warning: passing arg 2 of `fprintf' makes pointer from integer without a cast
[IBM-F5F27A11743:~:517] 

As I found tchar.h under /usr/include/mingw, I supplied
-I/usr/incldue/mingw to gcc, but got this error.

[IBM-F5F27A11743:~:516] gcc -I/usr/include/mingw mstest.c
/cygdrive/c/DOCUME~1/handa/LOCALS~1/Temp/ccmE5qPc.o:mstest.c:(.text+0xeb): undefined reference to `__imp___iob'
/cygdrive/c/DOCUME~1/handa/LOCALS~1/Temp/ccmE5qPc.o:mstest.c:(.text+0x12d): undefined reference to `__imp___iob'
/cygdrive/c/DOCUME~1/handa/LOCALS~1/Temp/ccmE5qPc.o:mstest.c:(.text+0x214): undefined reference to `__imp___iob'
collect2: ld returned 1 exit status
[IBM-F5F27A11743:~:517]

I have no idea what to do.

---
Kenichi Handa
handa@m17n.org

  parent reply	other threads:[~2006-12-25  6:17 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <458AB581.7090303@student.lu.se>
     [not found] ` <458AF7AC.5030500@student.lu.se>
     [not found]   ` <umz5hlyrm.fsf@gnu.org>
     [not found]     ` <458B2295.7010806@student.lu.se>
2006-12-22 12:14       ` National Language Support Functions Eli Zaretskii
2006-12-22 12:35         ` Jason Rumney
2006-12-22 12:57           ` Jason Rumney
2006-12-22 15:43             ` Eli Zaretskii
2006-12-22 19:51               ` Lennart Borgman
2006-12-22 16:32         ` Benjamin Riefenstahl
2006-12-22 20:07           ` Eli Zaretskii
2006-12-23  0:54             ` Benjamin Riefenstahl
2006-12-25  6:17         ` Kenichi Handa [this message]
2006-12-25 20:47           ` Eli Zaretskii
2006-12-26  0:59             ` Kenichi Handa
2006-12-25 22:17           ` Jason Rumney
2006-12-28 13:03           ` Lennart Borgman (gmail)
2006-12-29  9:38             ` Eli Zaretskii
2006-12-29 15:48               ` Lennart Borgman (gmail)
2006-12-29 16:23                 ` Jan Djärv
2006-12-29 16:45                   ` Lennart Borgman (gmail)
2006-12-29 10:31             ` Jason Rumney
2006-12-29 15:39               ` Lennart Borgman (gmail)
2006-12-29 16:14                 ` Jason Rumney
2006-12-29 16:32                   ` Lennart Borgman (gmail)
2006-12-29 19:37                 ` Juanma Barranquero
2006-12-29 19:50                   ` Lennart Borgman
2006-12-29 20:29                     ` Juanma Barranquero
2006-12-29 20:48                       ` Lennart Borgman (gmail)
2006-12-29 21:23                         ` Juanma Barranquero
2006-12-29 21:48                           ` Lennart Borgman (gmail)
2006-12-29 22:03                             ` Juanma Barranquero
2006-12-29 22:22                               ` Lennart Borgman (gmail)
2006-12-29 23:51                                 ` Juanma Barranquero
2006-12-30  0:14                                   ` Lennart Borgman (gmail)
2006-12-30  0:32                                     ` Juanma Barranquero
2006-12-30  0:42                                       ` Lennart Borgman (gmail)
2006-12-30  1:10                                         ` Juanma Barranquero
2006-12-30  1:27                                           ` Lennart Borgman (gmail)
2006-12-30 15:39                                     ` Eli Zaretskii
2006-12-30 15:53                                       ` Lennart Borgman (gmail)
2006-12-30 16:38                                         ` Eli Zaretskii
2006-12-30 17:30                                           ` Lennart Borgman (gmail)
2006-12-31  0:35                                             ` Jason Rumney
2006-12-31  2:22                                               ` Lennart Borgman (gmail)
2006-12-30 14:33                                   ` Eli Zaretskii
2006-12-30 15:21                                     ` Lennart Borgman (gmail)
2006-12-30 16:33                                       ` Eli Zaretskii
2006-12-30 17:36                                         ` Lennart Borgman (gmail)
2006-12-30  6:24                         ` Richard Stallman
2006-12-30 10:28                           ` Lennart Borgman (gmail)

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Gyj9a-00019e-9p@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).