IRRToolSet 5.1.2 released , error: possibly undefined macro:
Nick Hilliard (INEX)
nick at inex.ie
Sun Nov 10 13:54:08 UTC 2019
Alexandr Gurbo wrote on 06/11/2019 14:45:
> I have the same problem with autoconf on Centos 8.
> This trick helps me compile utilities, but in usage "peval" I received "Segmentation fault(core dumped)".
the issue here is that code depended on being able to set the 'this'
pointer in c++ classes to be NULL. Although is undefined behaviour,
fixing it would mean writing a lot more code and in the case of
irrtoolset, it just isn't worth anyone's while.
I've disabled the compiler check using "-fno-delete-null-pointer-check",
which carpets over the issue. This hack is the only change between
5.1.2 and 5.1.3.
Nick
More information about the irrtoolset
mailing list