On 01/12/11 17:31, David Matthews wrote:
On 01/12/2011 16:09, Phil Clayton wrote:
I've just tried r1380 on my Fedora 15 x86_64 machine and have a couple of things to report:
- I get a build error (see output below) for foreign.cpp. Perhaps my C
compiler is more pedantic than most but it is just using the default options. I think the issue is that, on x86_64, void * is 8 bytes but unsigned (int) is 4 bytes.
Thanks. That was a change I made when I tested it with the Windows interface. One of my examples created a lot of callback functions and showed up a bug that hadn't previously appeared. I've now changed this to use uintptr_t rather than "unsigned" so it seems to be fine on my X86/64 setup.
Thanks - all is working now.
- When I specify --with-system-libffi, I see that configure still runs
for the libffi bundled with Poly/ML. Perhaps that is intentional.
It is intentional. While searching for information on how to configure a sub-directory that had its own configure script I came across a document that suggested that it was best to configure the sub-directory even if it was not actually built. That would then ensure that things like "make dist" work properly.
Good point. I would certainly want "make distclean" to clean out everything.
Phil