[Tile-serving] [mod_tile] Compile error OS X (#106)

Jon Burgess notifications at github.com
Fri Jul 31 20:31:59 UTC 2015


The errors on one of the links are about:
```
./src/mod_tile.c:756:19: error: no member named 's6_addr32' in 'struct in6_addr'
    hashkey = (ip.s6_addr32[0] ^ ip.s6_addr32[1] ^ ip.s6_addr32[2] ^ ip.s6_addr32[3]) % DELAY_HASHTABLE_SIZE;
```
This is due to 8307d19a which relaced the s6_addr with s6_addr32. Unfortunately this isn't supported on OSX. This has caught other people out too, e.g. http://seclists.org/nmap-dev/2009/q1/493

It is fixable by reverting that single line of code change but I'm not entirely happy with those casts between uint8_t* and uint32_t*.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/106#issuecomment-126805935
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150731/518ee918/attachment.html>


More information about the Tile-serving mailing list