OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/37533
[pf3gnuchains/gcc-fork.git]
/
gcc
/
errors.c
diff --git
a/gcc/errors.c
b/gcc/errors.c
index
ec70d55
..
a1ccfef
100644
(file)
--- a/
gcc/errors.c
+++ b/
gcc/errors.c
@@
-40,7
+40,7
@@
int have_error = 0;
/* Print a warning message - output produced, but there may be problems. */
-void
+bool
warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
{
va_list ap;
@@
-50,6
+50,7
@@
warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
vfprintf (stderr, format, ap);
va_end (ap);
fputc('\n', stderr);
+ return true;
}