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

ANSI C warnings

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.5
    • None
    • None
    • None

    Description

      I am trying to publish a R drivers based on mongoc-driver, however the repository maintainers told me I need to take care of these warnings to be ISO C compliant:

      * checking whether package ‘mongolite’ can be installed ... WARNING
      Found the following significant warnings:
        bson/bson-macros.h:103:26: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
        bson/bson-macros.h:86:26: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
        mongoc/mongoc-stream-tls.c:572:47: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: