[CDRIVER-2197] Add -Wexpansion-to-defined to maintainer flags Created: 26/Jun/17  Updated: 28/Oct/23  Resolved: 18/Jul/17

Status: Closed
Project: C Driver
Component/s: Build, libbson, libmongoc
Affects Version/s: None
Fix Version/s: 1.8.0

Type: Improvement Priority: Minor - P4
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CDRIVER-2428 importable use of macro Closed
Related
related to CDRIVER-2221 Synchronize libmongoc's and libbson's... Closed

 Description   

Looks like clang 3.9 has added -Wexpansion-to-defined to its default flags.

Our version macro, at least, triggers a warning



 Comments   
Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

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

Message:CDRIVER-2197 Add -Wexpansion-to-defined to maintainer flags
Branch:master
https://github.com/mongodb/libbson/commit/795951df4f11330b5df20e9561c1784c4f9c48a3

Comment by Githook User [ 18/Jul/17 ]

Author:

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

Message: CDRIVER-2197 Add -Wexpansion-to-defined to maintainer flags
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/25763f184c472d44af16303cbebf61a929b3caab

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