diff options
Diffstat (limited to 'gcc/opth-gen.awk')
-rw-r--r-- | gcc/opth-gen.awk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/opth-gen.awk b/gcc/opth-gen.awk index c2390dec24a..de2d29f225a 100644 --- a/gcc/opth-gen.awk +++ b/gcc/opth-gen.awk @@ -503,8 +503,10 @@ print "/* Mapping from cpp message reasons to the options that enable them. */" print "#include <cpplib.h>" print "struct cpp_reason_option_codes_t" print "{" -print " const int reason; /* cpplib message reason. */" -print " const int option_code; /* gcc option that controls this message. */" +print " /* cpplib message reason. */" +print " const enum cpp_warning_reason reason;" +print " /* gcc option that controls this message. */" +print " const int option_code;" print "};" print "" print "static const struct cpp_reason_option_codes_t cpp_reason_option_codes[] = {" |