Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2087

size_t redeclaration in VS2013

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libbson
    • Labels:
      None
    • Environment:
      windows, visual studio 2013

      I get redclaration error(found by resharper for c++) in visual studio 2013:
      28c4aa26-7fc6-11e6-8454-8b7cece4aeb2.png
      vs2013 have partial support of come c99 standard so looks like size_t is already defined in crtdefs.h

      Here is fix: https://github.com/mongodb/libbson/pull/178/files

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            alexeyvo Alex
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: