diff options
Diffstat (limited to 'gcc/errors.h')
-rw-r--r-- | gcc/errors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/errors.h b/gcc/errors.h index ecb0af1..5fefa07 100644 --- a/gcc/errors.h +++ b/gcc/errors.h @@ -30,6 +30,10 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #ifndef GCC_ERRORS_H #define GCC_ERRORS_H +/* The first parameter is for compatibility with the non-generator + version of warning(). For those, you'd pass an OPT_W* value from + options.h, but in generator programs it has no effect, so it's OK + to just pass zero for calls from generator-only files. */ extern void warning (int, const char *, ...) ATTRIBUTE_PRINTF_2; extern void error (const char *, ...) ATTRIBUTE_PRINTF_1; extern void fatal (const char *, ...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1; |