27 |
|
|
28 |
/* Informative messages, but we proceed. */ |
/* Informative messages, but we proceed. */ |
29 |
|
|
30 |
extern void warn (const char *format, ...) |
void warn (const char *format, ...) |
31 |
__attribute__ ((__format__ (__printf__, 1, 2))); |
__attribute__ ((__format__ (__printf__, 1, 2))); |
32 |
|
|
33 |
|
void warn_at (int location, const char *format, ...) |
34 |
|
__attribute__ ((__format__ (__printf__, 2, 3))); |
35 |
|
|
36 |
/* Something bad happen, but let's continue and die later. */ |
/* Something bad happen, but let's continue and die later. */ |
37 |
|
|
38 |
extern void complain (const char *format, ...) |
void complain (const char *format, ...) |
39 |
__attribute__ ((__format__ (__printf__, 1, 2))); |
__attribute__ ((__format__ (__printf__, 1, 2))); |
40 |
|
|
41 |
|
void complain_at (int location, const char *format, ...) |
42 |
|
__attribute__ ((__format__ (__printf__, 2, 3))); |
43 |
|
|
44 |
/* Something bad happen and we die now. */ |
/* Something bad happen and we die now. */ |
45 |
|
|
46 |
extern void fatal (const char *format, ...) |
void fatal (const char *format, ...) |
47 |
__attribute__ ((__format__ (__printf__, 1, 2))); |
__attribute__ ((__format__ (__printf__, 1, 2))); |
48 |
|
|
49 |
|
void fatal_at (int location, const char *format, ...) |
50 |
|
__attribute__ ((__format__ (__printf__, 2, 3))); |
51 |
|
|
52 |
#else |
#else |
53 |
void warn (); |
void warn (); |
54 |
|
void warn_at (); |
55 |
void complain (); |
void complain (); |
56 |
|
void complain_at (); |
57 |
void fatal (); |
void fatal (); |
58 |
|
void fatal_at (); |
59 |
#endif |
#endif |
60 |
|
|
61 |
/* Position in the current input file. */ |
/* Position in the current input file. */ |