-
Notifications
You must be signed in to change notification settings - Fork 284
goto_cc_modet isn't a messaget #5618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5618 +/- ##
===========================================
- Coverage 69.32% 69.32% -0.01%
===========================================
Files 1241 1241
Lines 100443 100450 +7
===========================================
+ Hits 69636 69638 +2
- Misses 30807 30812 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Use local messaget instances instead as there is no is-a relationship between goto_cc_modet (nor any class deriving from it) and messaget.
6281309 to
d40c7e2
Compare
| eval_verbosity( | ||
| messaget::eval_verbosity( | ||
| cmdline.get_value("verbosity"), messaget::M_ERROR, gcc_message_handler); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that do anything?
| eval_verbosity( | ||
| messaget::eval_verbosity( | ||
| cmdline.get_value("verbosity"), messaget::M_ERROR, message_handler); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had wondered as well, but yes, it does: the message_handler argument will have its verbosity set. We might want to change this interface though as that makes two people who were surprised by this code...
Use local messaget instances instead as there is no is-a relationship
between goto_cc_modet (nor any class deriving from it) and messaget.