Skip to content
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

Add --fatal_warnings flag to treat warnings as errors #4336

Closed
wants to merge 1 commit into from

Conversation

benesch
Copy link
Contributor

@benesch benesch commented Feb 26, 2018

Add a --fatal_warnings flag that requests that protoc exit with a failing status code if any warnings are generated during compilation.

Partially address #3980.

/cc @pherl

Add a --fatal_warnings flag that requests that protoc exit with a
failing status code if any warnings are generated during compilation.

Partially address protocolbuffers#3980.
@liujisi
Copy link
Contributor

liujisi commented Feb 26, 2018

OK to test

@liujisi
Copy link
Contributor

liujisi commented Feb 26, 2018

The appveyor test seems to be failing. Could you take a look?

@xfxyjwf xfxyjwf requested a review from liujisi February 26, 2018 19:48
@benesch
Copy link
Contributor Author

benesch commented Feb 27, 2018

Whoops, I accidentally deleted part of an unrelated test in my original PR. Sorry about that. Please take another look! It should be fixed now.

@liujisi
Copy link
Contributor

liujisi commented Mar 19, 2018

Hmm, the linux C++ tests are still failing. Did you test it in linux? I will try patch and see if I can reproduce the error in the presubmit.

@liujisi liujisi moved this from To Do to In Progress in Weekly Fixit Mar 19, 2018
@liujisi
Copy link
Contributor

liujisi commented Mar 19, 2018

It seems CommandLineInterfaceTest.InvalidErrorFormat is still failing..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Weekly Fixit
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants