Created attachment 202320 [details] patch Remove lines with #pragma GCC diagnostic to fix build with base GCC. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Fri Mar 29 15:56:12 UTC 2019 New revision: 497159 URL: https://svnweb.freebsd.org/changeset/ports/497159 Log: Fix build on GCC-based architectures: fails to compile: fltk_wrap.cpp:5355: #pragma GCC diagnostic not allowed inside functions PR: 235989 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/x11-toolkits/py-fltk/Makefile