[Zlib-devel] TR: the win32\Makefile.msc diff
William A. Rowe Jr.
wrowe at rowe-clan.net
Mon Mar 22 02:35:05 EDT 2010
On 3/21/2010 11:55 PM, Jonathan Nieder wrote:
> Hi,
>
> William A. Rowe Jr. wrote:
>> On 3/21/2010 4:22 PM, Enrico Weigelt wrote:
>
>>> But you can make the compiler fail if sizeof(..) doesnt match a
>>> specific size, so use for a compile-test (in ./configure).
>>
>> The compiler? Do you mean at run time, e.g. if (sizeof(z_off64_t) != 8) exit(1);
>> or something obvious I'm not seeing?
>>
>> You are suggesting fail within the "compiler", e.g. cpp?
>
> See BUILD_BUG_ON_ZERO in [1]. The history of that file has several versions. :)
not the version you pointed at. But is this a compile-time fail or a runtime fail?
If it's the later I wouldn't borrow gpl code, anyways.
More information about the Zlib-devel
mailing list