[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: National Language Support Functions
From: |
Kenichi Handa |
Subject: |
Re: National Language Support Functions |
Date: |
Mon, 25 Dec 2006 15:17:42 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Eli Zaretskii <address@hidden> 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
address@hidden