Closed GoogleCodeExporter closed 8 years ago
A similar fix is part of the patch I just attached to issue 11. This one looks
good to me, for what it's worth.
--Adrian.
Original comment by aecolley
on 8 Nov 2010 at 3:50
After commenting a line of code ("typedef unsigned long uintptr_t;") in
"src/public/porting.h" .it works !
Thanks.
Original comment by xuyi...@gmail.com
on 10 Nov 2010 at 7:22
I just realised that, by including ``config.h`` in ``porting.h``, the resulting
``porting.h`` cannot be used to compile programs outside ``szl``'s source tree
(since ``config.h`` does not get installed), so please disregard the first diff.
Alternative solutions would be to:
1. Assume ``intptr_t`` is defined by ``stdint.h`` (it is an *optional* feature, according to the Wikipedia link above) and remove the typedef, or
2. Do an explicit check for ``intptr_t`` in ``configure.ac``, and, if ``intptr_t`` is not available, define it accordingly in ``porting.h``.
The attached diff takes the first approach. It is the same as aecolley's patch
to issue 11.
Original comment by superdup...@gmail.com
on 10 Nov 2010 at 9:01
Attachments:
r39 should fix this.
Original comment by dbh@google.com
on 14 Nov 2010 at 10:32
Original comment by dbh@google.com
on 14 Nov 2010 at 11:11
Yep, just compiled r40 on 32-bit Linux. Thanks, David!
Original comment by superdup...@gmail.com
on 15 Nov 2010 at 1:22
Original comment by dbh@google.com
on 16 Nov 2010 at 2:59
Original issue reported on code.google.com by
superdup...@gmail.com
on 5 Nov 2010 at 7:10Attachments: