News for hackers. Stuff that matters.
Re:“gcc will quietly break nearly half of all the packages t... by just_curioussss on Saturday October 24, 2015 @12:49PM (#10444131)
There is a defined method for comparing such pointers. Take unsigned char pointers to them and inspect their bytes. Then write your code, using that information, that does the comparison, assuming you know your architecture.

It is defined behavior to read the bytes of any object using unsigned char.

Re:“gcc will quietly break nearly half of all the packages t... by kbwt on Saturday October 24, 2015 @01:05PM (#10444178)
Alternatively, if the implementation supports uintptr_t, you can convert to that and then compare the respective integral values.