On Sun, 2017-06-11 at 21:14 +0200, Xose Vazquez Perez wrote:
> On 05/19/2017 05:31 AM, Bart Van Assche wrote:
> > Since there is only one user of int2ptr(), please remove the macro
> > definitions
> > and use the following construct: (void *)(uintptr_t)(...).
>
> No time for a proper patch, use i
On 05/19/2017 05:31 AM, Bart Van Assche wrote:
> On Fri, 2017-05-19 at 03:38 +0200, Xose Vazquez Perez wrote:
>> Rationale: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
>>
>> __LP64__
>> _LP64
>> These macros are defined, with value 1, if (and only if) the compilation is
>> f
On Fri, 2017-05-19 at 03:38 +0200, Xose Vazquez Perez wrote:
> Rationale: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
>
> __LP64__
> _LP64
> These macros are defined, with value 1, if (and only if) the compilation is
> for a target where long int and pointer both use 64-bits
Rationale: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
__LP64__
_LP64
These macros are defined, with value 1, if (and only if) the compilation is
for a target where long int and pointer both use 64-bits and int uses 32-bit.
Cc: Christophe Varoqui
Cc: device-mapper develop