projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* configure.tgt (powerpc64-*): Fix targ_obj.
[binutils-gdb.git]
/
gold
/
errors.h
diff --git
a/gold/errors.h
b/gold/errors.h
index bc779945382cd9a5d6ea8fc9e5fedc8debe8e794..b373a06a4f7236f806b173d98ae5d78ddab82d8d 100644
(file)
--- a/
gold/errors.h
+++ b/
gold/errors.h
@@
-93,6
+93,11
@@
class Errors
error_count() const
{ return this->error_count_; }
+ // Return the number of warnings.
+ int
+ warning_count() const
+ { return this->warning_count_; }
+
private:
Errors(const Errors&);
Errors& operator=(const Errors&);