Closed loreucci closed 1 year ago
As Core Issue 1512 has been implemented in gcc 11 (see here), it is no longer possible to do ordered comparison between pointers and zero.
This fix changes the ordered comparison into an equality with NULL, allowing gcc 11 to compile the sdk.
Tested with gcc 11.1
Confirming this fixes g++ version 11.0+
has Merged PR #98 with the same content
As Core Issue 1512 has been implemented in gcc 11 (see here), it is no longer possible to do ordered comparison between pointers and zero.
This fix changes the ordered comparison into an equality with NULL, allowing gcc 11 to compile the sdk.
Tested with gcc 11.1