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

ANSI C warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.5
    • Component/s: None
    • Labels:
      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

            Assignee:
            jesse A. Jesse Jiryu Davis
            Reporter:
            Jeroenooms Jeroen Ooms [X] (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: