Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7976

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Internal Code
    • None
    • ALL

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: