From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9802 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: size_t and int64_t on a new platform Date: Thu, 31 Mar 2016 23:23:17 +0300 (MSK) Message-ID: References: <20160331192518.GW21636@brightrain.aerifal.cx> <20160331201012.GR9862@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1459455824 13689 80.91.229.3 (31 Mar 2016 20:23:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2016 20:23:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9815-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 31 22:23:43 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1alj7u-0004NO-2a for gllmg-musl@m.gmane.org; Thu, 31 Mar 2016 22:23:34 +0200 Original-Received: (qmail 7377 invoked by uid 550); 31 Mar 2016 20:23:30 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7356 invoked from network); 31 Mar 2016 20:23:29 -0000 In-Reply-To: <20160331201012.GR9862@port70.net> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) Xref: news.gmane.org gmane.linux.lib.musl.general:9802 Archived-At: How size_t and friends are typedef'd is visible in C++ mangled names, so unless I'm misunderstanding the context here, musl most likely doesn't want to typedef them differently to what's typical on the platform. What about using compiler defines? GCC and Clang will predefine __SIZE_TYPE__ and such, which is directly usable for typedef'ing size_t&co; see: :| gcc -xc - -E -dD|grep TYPE Alexander