-fnested-functions is necessary to support nested functions with base GCC.
While here, pet portlint.
PR: 232520 Submitted by: Piotr Kubaj Approved by: maintainer (earlier version of patch)