* configure.tgt (powerpc64-*): Fix targ_obj.
[binutils-gdb.git] / gold / errors.h
index bc779945382cd9a5d6ea8fc9e5fedc8debe8e794..b373a06a4f7236f806b173d98ae5d78ddab82d8d 100644 (file)
@@ -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&);