delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=EaHKmMmPshfIsVdlYKGawDQg18doTXkhO8RN3oLsVPXaMQzTsUSHd | |
cZzEzWistONoSkPPuYvHpTbrzkAM/jOrJRymV98hHwcDgMQMDHjS0BZfUerGsGbl | |
3h6JdshNAn2mhhdMfKFMxdeVZblXk2FYlmOGqy3yYmj3kBuracEtzA= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=Vr7WkEmvKfGMyEBLvc1zdULxhJE=; b=IcC6TrOGWc3AhIuyYsKmC5KMDFPc | |
Z/ksSRtTqHAu7xWxdI4NpukFS3Kl3tvbIQBxXPxQ0BENKtyxJcyQRUMRv5XYd1WF | |
zDu4XVB/FWaCg6fmwEq9YGfmu8c1VSt1q78X+W3OKGq2vxriwNBBiwfyyGnEo7jV | |
6sfdTpDssij6+Og= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-4.5 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 17 Jun 2015 10:20:44 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com, Kai Tietz <ktietz70 AT googlemail DOT com> |
Subject: | Re: Recent cygwin update is missing tchar header file |
Message-ID: | <20150617082044.GA26118@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com, Kai Tietz <ktietz70 AT googlemail DOT com> |
References: | <loom DOT 20150613T183650-316 AT post DOT gmane DOT org> <20150615164113 DOT GX31537 AT calimero DOT vinschen DOT de> <557F50B8 DOT 6010703 AT gmail DOT com> <20150616093424 DOT GA31537 AT calimero DOT vinschen DOT de> <5580A5C0 DOT 9000303 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <5580A5C0.9000303@gmail.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 17 06:40, JonY wrote: > On 6/16/2015 17:34, Corinna Vinschen wrote: > > On Jun 16 06:24, JonY wrote: > >> On 6/16/2015 00:41, Corinna Vinschen wrote: > >>> Hi Jon, > >>> > >>> any idea what happened to tchar.h in the latest w32api update? > >>> > >> > >> tchar.h seems to be part of the CRT headers rather than the w32api > >> headers. I'll see getting it installed regardless. > >=20 > > Hmm, that may not be as easy as it sounds. > >=20 > > I checked the w32api-headers 3.3 0 version and there was no tchar.h in > > it either, so this isn't new. I assume the last time the package has > > been built successfully was against w32api headers from Mingw.org. > >=20 > > tchar.h in Mingw-w64 pulls a rat tail of other headers in: > >=20 > > $ grep '#include' tchar.h=20 > > #include <crtdefs.h> > > #include <wchar.h> > > #include <string.h> > > #include <mbstring.h> > > #include <sec_api/tchar_s.h> > >=20 > > AFAICS, oledlg.h pulls in tchar.h > > solely to get the definition of the macro _TEXT. > >=20 > > So we are better off to define our own tchar.h, or, even better, to > > tweak tchar.h for Cygwin upstream. If we exclude everything except for > > the definitions of _T, _TEXT, _TEOF, and the types like _TCHAR etc., we > > should be good. > >=20 > > Something like this (untested): Actually, I checked the results yesterday using something like i686-pc-cygwin-gcc -x c -E -dDI tchar.h | view - i686-pc-cygwin-gcc -D_UNICODE -x c -E -dDI tchar.h | view - i686-pc-cygwin-gcc -x c++ -E -dDI tchar.h | view - i686-pc-cygwin-gcc -D_UNICODE -x c++ -E -dDI tchar.h | view - and it looked good, afaics. > > [...] >=20 > Kai, Ping. This will be required, too: diff --git a/mingw-w64-headers/configure b/mingw-w64-headers/configure index abc4d42..fecd20e 100755 --- a/mingw-w64-headers/configure +++ b/mingw-w64-headers/configure @@ -2545,7 +2545,7 @@ fi =20 # Checks for header files. =20 -BASEHEAD_LIST=3D"crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_ma= c.h crt/_mingw_print_push.h crt/_mingw_print_pop.h crt/_mingw_secapi.h crt/= _mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/excpt.h crt/intrin.h crt/= vadefs.h "$srcdir/include/*.h +BASEHEAD_LIST=3D"crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_ma= c.h crt/_mingw_print_push.h crt/_mingw_print_pop.h crt/_mingw_secapi.h crt/= _mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/excpt.h crt/intrin.h crt/= tchar.h crt/vadefs.h "$srcdir/include/*.h SECHEAD_LIST=3D"$srcdir/crt/sec_api/stralign_s.h" for i in c dlg h16 hxx rh ver; do BASEHEAD_LIST=3D"$BASEHEAD_LIST "$srcdir/include/*.$i diff --git a/mingw-w64-headers/configure.ac b/mingw-w64-headers/configure.ac index 7e3863d..b1d5d8c 100644 --- a/mingw-w64-headers/configure.ac +++ b/mingw-w64-headers/configure.ac @@ -39,7 +39,7 @@ AM_CONDITIONAL([HAVE_WIDL],[AS_VAR_TEST_SET([WIDL])]) =20 # Checks for header files. =20 -BASEHEAD_LIST=3D"crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_ma= c.h crt/_mingw_print_push.h crt/_mingw_print_pop.h crt/_mingw_secapi.h crt/= _mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/excpt.h crt/intrin.h crt/= vadefs.h "$srcdir/include/*.h +BASEHEAD_LIST=3D"crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_ma= c.h crt/_mingw_print_push.h crt/_mingw_print_pop.h crt/_mingw_secapi.h crt/= _mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/excpt.h crt/intrin.h crt/= tchar.h crt/vadefs.h "$srcdir/include/*.h SECHEAD_LIST=3D"$srcdir/crt/sec_api/stralign_s.h" for i in c dlg h16 hxx rh ver; do BASEHEAD_LIST=3D"$BASEHEAD_LIST "$srcdir/include/*.$i Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVgS3cAAoJEPU2Bp2uRE+gO/EQAI8HvxAgxjWw2Goo76uTI074 akNvapxgRyWvx3oKE0GUMZhm1BhFVK0T8Ql9yjmVaY1DUEnqV8QIoTlJY/jhvrBr eUfsamV1fEOq1898u38eHJxbrRe0htXWSY2CYygsdmOOebsLK5X8QQ6SKIJ61lEO SGOjJdLHcSNP7pTy51IBlpV6L+FPKlH7mSGaCbnWHtcHlkb2m50uJzS8Aw1wH8Cb pGx1VjVtTLqxTt4WIiGtHqLeeO5FCRSYxwjdSl5IS9mWhCKHTBT1L4Qpb3WsD1gr oRFxPymqTWGbAIQ03cUeBP97y3Iu0TQ4TatxnIfhe8Bd+QM8jeBoSTDaW9BUqgTN 7Hz/IB59tRoXkg/jgpzhfCL+By3DdMGzmZxekg+QJDIgNSiq+wI8rPmzHQ24LIHV XAEfk9GyzFv6eMR+W8h0TudIb7beDSfe9h9y9/kLyyoEXrZvEENpr1l30dHzN7yZ C+uXkJ/ZoY7LHkfv6EViVKBQpFa2SVvnhwTjVbRc5hEqsbyQPGXNV0zfixjH4oG6 2xp7oOFcKN51Tjlrc/CKR3Xbu5VjwnIwnLzMwr3gEYaS8nBEFG4C88nAqkSHdadi gAwWrlOLlDKPysAt9sYuSlUfvniukk2OOWrb9uMk5IxjAwy+/Nus8tINgXO5YvPW zwJOqT6q262a8+2CZis4 =E1SP -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |