[CXX-662] Build error with g++ using '-pedantic-errors' key Created: 07/Sep/15  Updated: 19/Oct/15  Resolved: 15/Oct/15

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: legacy-1.0.6

Type: Improvement Priority: Trivial - P5
Reporter: Roman Karasev [X] Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Kubuntu 15.04, gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)



 Description   

using -pedantic-error I have these errors:

/mongo/platform/atomic_word_cxx11.h:186: error: extra ';' [-Wpedantic]
/mongo/platform/atomic_word_cxx11.h:187: error: extra ';' [-Wpedantic]
/mongo/platform/atomic_word_cxx11.h:188: error: extra ';' [-Wpedantic]
/mongo/platform/atomic_word_cxx11.h:189: error: extra ';' [-Wpedantic]

Of course I have fixed it, but I think you should fix it, too.



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

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-662 remove extra semicolons after _ATOMIC_WORD_DECLARE
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/6ad1ccc76c9eb35733c972c3c0b11fb610185f87

Comment by Adam Midvidy [ 08/Oct/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/324

Comment by Andrew Morrow (Inactive) [ 07/Sep/15 ]

Thanks, we will fix for the next release.

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