How to suppress -Wimplicit-function-declaration warning, if really does not have the declaration?

2022-01-25 Thread Jim DeLaHunt
Hello, MacPorts developers: I am attempting to resolve a -Wimplicit-function-declaration generated by the ./configure code[1] of a port. The relevant code appears to be checking if the C11 feature std::at_quick_exit()[2] is defined. The configure code expands to: #include static void func(v

Re: FAQ and Wiki page about -Wimplicit-function-declaration warning, review welcomed

2022-01-25 Thread Steven
Thanks for this. I found the FAQ and guide very useful. > On Jan 24, 2022, at 2:42 AM, Jim DeLaHunt wrote: > > Hello, MacPorts developers: > > I was working on a Portfile, and came across the ever-popular "Warning: > Configuration logfiles contain indications of > -Wimplicit-function-declarat