delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/22/11:34:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 22 Jan 2002 11:34:48 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: apa3a AT yahoo DOT com
Subject: Re: Bug? No _TCHAR type is defined
Message-ID: <20020122163448.GF14458@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, apa3a AT yahoo DOT com
References: <20020122153044 DOT 82280 DOT qmail AT web20208 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20020122153044.82280.qmail@web20208.mail.yahoo.com>
User-Agent: Mutt/1.3.23.1i

On Tue, Jan 22, 2002 at 07:30:44AM -0800, Andriy Palamarchuk wrote:
>Type _TCHAR is not defined in cygwin tchar.h header,
>only TCHAR type. According to Microsoft documentation
>type _TCHAR should be used for creating Unicode/ANSII
>portable applications.
>
>MBCS Survival Guide at
>http://www.microsoft.com/globaldev/fareast/mbcssg.asp
> says:
>"For ANSI conformance, the "official" type is _TCHAR.
>In practice, either TCHAR or _TCHAR is acceptable."
>
>
>See also "Using Generic-Text Mappings" at:
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt_using_generic.2d.text_mappings.asp

Cygwin doesn't actually have a 'tchar.h'.  There is one in /usr/include/mingw,
though, so you should check with that project about this:  http://www.mingw.org .

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019