Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

nginx: do not error out on warning#305

Closed
jhellan wants to merge 1 commit intocloudfoundry-attic:masterfrom
jhellan:no_werror
Closed

nginx: do not error out on warning#305
jhellan wants to merge 1 commit intocloudfoundry-attic:masterfrom
jhellan:no_werror

Conversation

@jhellan
Copy link

@jhellan jhellan commented Feb 25, 2014

This pull request disables "-Werror" when building nginx. Our custom CPI needs Precise, so that's what our Bosh stemcells use. On Precise, the compiler warns about two unused variables, and "-Werror" makes the build error out.

Up to cf 155, we haven't been building nginx at all, and been setting the ccng.use_nginx flag to false. When that flag disappeared with 3343556, we disabled "-Werror" instead. This shouldn't hurt when building on Lucid, so we're hoping you will approve this pull request.

Jon Kåre Hellan, UNINETT AS, Trondheim, Norway

@cfdreddbot
Copy link

Hey jhellan!

Thanks for submitting this pull request!

All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate).

When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization.

@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/66404336

@dsabeti
Copy link
Collaborator

dsabeti commented Feb 27, 2014

Hi @jhellan, this change has passed the acceptance tests and has been moved to the Runtime team's backlog for prioritization.

CF Community Pair (@dsabeti & @thecadams )

@yudai
Copy link
Contributor

yudai commented Mar 3, 2014

I think that this issue has been resolved by updating nginx to 1.4.5

@jhellan
Copy link
Author

jhellan commented Mar 3, 2014

yudai is right. We're now running unpatched cf v160 on a precise stemcell.
I can refresh the patch if people are interested, -Werror may bite again. But I'm fine with dropping it.

@d d closed this Mar 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants