https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106529

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Those warnings just match a predefined list of names and suggest the right
header. If 'sincos' is not found, it says to include <math.h>, there's no check
for which OS you're on or whether math.h has been included already. It's much
simpler than that.

Yes, sometimes including <math.h> isn't the solution, but it does say "or
provide a declaration of sincos" so it's not wrong.

Reply via email to