Menu

#2 [PATCH] ri-li fails to build on gcc-11 due to pointer order comparison

v1.0_(example)
open
nobody
None
5
2022-04-21
2022-04-21
No

ri-li fails to build on gcc-11 due to pointer order comparison:

tableau.cc:90:9: error: ordered comparison of pointer with integer zero ('unsigned char*' and 'int')
   90 |   if(Buf<=0) return false;
      |      ~~~^~~

Attaching the trivial fix.

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB