https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64526
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- "has no parameters" does not mean "has a type that includes a prototype with no parameters". See DR#317. http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_317.htm