#618: add -Wextra -Wno-unused-parameter