STINNER Victor <vstin...@python.org> added the comment: test_peg_generator emits compiler warnings:
https://buildbot.python.org/all/#/builders/612/builds/283 0:08:01 load avg: 1.40 [423/423/1] test_peg_generator passed (7 min 4 sec) /tmp/tmp0vbqe8gp/parse.c: In function ‘start_rule’: /tmp/tmp0vbqe8gp/parse.c:32:35: warning: passing argument 2 of ‘_PyPegen_lookahead’ from incompatible pointer type [-Wincompatible-pointer-types] 32 | _PyPegen_lookahead(1, _PyPegen_name_token, p) | ^~~~~~~~~~~~~~~~~~~ | | | struct _expr * (*)(Parser *) In file included from /tmp/tmp0vbqe8gp/parse.c:2: /home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64.lto-pgo/build/Parser/pegen/pegen.h:90:36: note: expected ‘void * (*)(Parser *)’ but argument is of type ‘struct _expr * (*)(Parser *)’ 90 | int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *); | ~~~~~~~^~~~~~~~~~~~~~~ /tmp/tmp54o68k3n/parse.c: In function ‘start_rule’: /tmp/tmp54o68k3n/parse.c:32:35: warning: passing argument 2 of ‘_PyPegen_lookahead’ from incompatible pointer type [-Wincompatible-pointer-types] 32 | _PyPegen_lookahead(0, _PyPegen_name_token, p) | ^~~~~~~~~~~~~~~~~~~ | | | struct _expr * (*)(Parser *) In file included from /tmp/tmp54o68k3n/parse.c:2: /home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64.lto-pgo/build/Parser/pegen/pegen.h:90:36: note: expected ‘void * (*)(Parser *)’ but argument is of type ‘struct _expr * (*)(Parser *)’ 90 | int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *); | ~~~~~~~^~~~~~~~~~~~~~~ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40334> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com