MSVC issues warning about zero-sized array in s2regioncoverer.h

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            hari.khalsa@10gen.com
            Reporter:
            Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: