static bool gobject_tracing;
static bool disable_since_check;
static bool disable_warnings;
+ static bool pedantic;
static bool keep_going;
static bool list_sources;
static string cc_command;
{ "disable-warnings", 0, 0, OptionArg.NONE, ref disable_warnings, "Disable warnings", null },
{ "fatal-warnings", 0, 0, OptionArg.NONE, ref fatal_warnings, "Treat warnings as fatal", null },
{ "disable-since-check", 0, 0, OptionArg.NONE, ref disable_since_check, "Do not check whether used symbols exist in local packages", null },
+ { "pedantic", 'p', 0, OptionArg.NONE, ref pedantic, "Output additional warnings", null },
{ "keep-going", 'k', 0, OptionArg.NONE, ref keep_going, "Continue as much as possible after an error", null },
{ "enable-experimental-non-null", 0, 0, OptionArg.NONE, ref experimental_non_null, "Enable experimental enhancements for non-null types", null },
{ "enable-gobject-tracing", 0, 0, OptionArg.NONE, ref gobject_tracing, "Enable GObject creation tracing", null },
context.experimental_non_null = experimental_non_null;
context.gobject_tracing = gobject_tracing;
context.keep_going = keep_going;
+ context.pedantic = pedantic;
context.report.enable_warnings = !disable_warnings;
context.report.set_verbose_errors (!quiet_mode);
context.verbose_mode = verbose_mode;