https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84890
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- I would also find phrasing these notes in the form of suggestions (hints) preferable to asking questions. #including the header also may not be the only solution (the definition of INT_MAX can be brought in by including <stdint.h> in addition to <limits.h>), or even the right one (it isn't for GCC) so rather than referring to a required header it might be better to simply state that the symbol is declared (or defined in the case of macros) in the corresponding standard header. error: ‘INT_MAX’ undeclared (first use in this function) note: macro ‘INT_MAX’ is defined in <limits.h>