[Nauty] Building on windows with clang-cl
Brendan McKay
Brendan.McKay at anu.edu.au
Sun Sep 16 16:27:05 AEST 2018
Hi Isuru,
Thanks for your mail.
min+max: I think that's a C standard violation but we will avoid it by
renaming our functions
AR: good idea, I'll do it
sizeof(long): yes, it is a bug. I need to store a long or a pointer in
the same place. I'll work on this soon, probably using a union type.
Brendan.
On 16/9/18 1:31 pm, Isuru Fernando wrote:
> Hi,
>
> I'm trying to build nauty 2.6r11 on windows with tools from clang and had
> to apply the following patches.
>
> - Remove min and max, because they are macros in windows.
> https://github.com/conda-forge/nauty-feedstock/blob/c6a229e76399dce98c23c703661ec02ce3d8589b/recipe/minmax.patch
> - Allow the archiver to be configurable.
> https://github.com/conda-forge/nauty-feedstock/blob/c6a229e76399dce98c23c703661ec02ce3d8589b/recipe/ar.patch
>
> Tests pass except for the 3 tests using countg and pickg. They fail with
> "cannot run on this machine". This is due to the fact that on windows
> sizeof(long) != sizeof(void*), but have sizeof(long long) != sizeof(void*).
> Is there a way to make countg and pickg work on windows?
>
> Thanks,
> Isuru
> _______________________________________________
> Nauty mailing list
> Nauty at anu.edu.au
> http://mailman.anu.edu.au/mailman/listinfo/nauty
More information about the Nauty
mailing list