Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.1603312317340.16250@monopod.intra.ispras.ru>
Date: Thu, 31 Mar 2016 23:23:17 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: size_t and int64_t on a new platform

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.