[CDRIVER-958] Improve configure flags on evergreen Created: 23/Oct/15  Updated: 18/Nov/15  Resolved: 28/Oct/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0-beta0

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-669 Turn compiler warnings into errs on E... Closed
Epic Link: C Driver in Evergreen

 Description   

Currently we are pretty much just using standard configure flags on evergreen.

We should be explicitly passing in more options, especially to catch warnings earlier.

We should enable --enable-maintainer-flags and add -Werror to CFLAGS.

I think we should also use the full distcheck flags, or preferably use that target.

--enable-silent-rules --enable-man-pages --enable-html-docs --enable-sasl --enable-ssl --enable-maintainer-flags --enable-debug --with-libbson=bundled

We should also explicitly include --enable-optimizations



 Comments   
Comment by Githook User [ 28/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-669 & CDRIVER-958: Add -Werror into CFLAGS & improve configure flags

This way we mark builds as failed on new warnings rather then let them
pile up.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/de54db303649ade993240c4b7b3b0feaa750882f

Comment by A. Jesse Jiryu Davis [ 23/Oct/15 ]

Compiling with -Werror is an existing goal; CDRIVER-669.

Generated at Wed Feb 07 21:11:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.