aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/diagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/diagnostic.h')
-rw-r--r--gcc-4.9/gcc/diagnostic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/diagnostic.h b/gcc-4.9/gcc/diagnostic.h
index 6122938ea..7c67e14ef 100644
--- a/gcc-4.9/gcc/diagnostic.h
+++ b/gcc-4.9/gcc/diagnostic.h
@@ -72,6 +72,9 @@ struct diagnostic_context
/* True if it has been requested that warnings be treated as errors. */
bool warning_as_error_requested;
+ /* True if it has been requested that warnings never be promoted to errors. */
+ bool force_warnings_requested;
+
/* The number of option indexes that can be passed to warning() et
al. */
int n_opts;