[SERVER-7976] MSVC issues warning about zero-sized array in s2regioncoverer.h Created: 18/Dec/12  Updated: 11/Jul/16  Resolved: 20/Dec/12

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Tad Marshall Assignee: hari.khalsa@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

src\third_party/s2/s2regioncoverer.h(143): warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array

This is just a warning and could be suppressed if desired. The Windows builds do not have warning=error so they are not stopped by this. It's nice to get rid of "old" warnings so that new ones stand out more.



 Comments   
Comment by auto [ 20/Dec/12 ]

Author:

{u'date': u'2012-12-20T16:59:59Z', u'email': u'hkhalsa@10gen.com', u'name': u'Hari Khalsa'}

Message: SERVER-7822 SERVER-7976 pragma-out windows s2 warnings
Branch: master
https://github.com/mongodb/mongo/commit/61659ebd62559c840a1df22ce9910d6a94cab5af

Generated at Thu Feb 08 03:16:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.