> Date: Tue, 3 Mar 2015 08:51:16 +0100 > From: Landry Breuil <[email protected]> > > Hi, > > stumbled upon this thanks to mozilla buildbot: > > /home/buildslave-amd64/mozilla-central-amd64/build/js/src/asmjs/AsmJSSignalHandlers.cpp:1106:32: > error: static_cast from 'caddr_t' (aka 'char *') to 'uint8_t *' (aka > 'unsigned char *') is not allowed > uint8_t *faultingAddress = static_cast<uint8_t*>(info->si_addr); > > (see https://bugzilla.mozilla.org/show_bug.cgi?id=1138205) > > But it turns out we're the only ones failing, because everyone has > si_addr as a void *. FreeBSD has it in /usr/include/sys/signal.h, and > NetBSD has it via a #define indirection in /usr/include/sys/siginfo.h. > > According to POSIX, si_addr should be void* : > http://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > > Is there a particular reason we diverge here ?
Probably histerical raisins; we should be able to change that after release.
