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

GCC 5 warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-beta0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      C Driver 2015Q2 sprint 9

      Description

      A few days ago Debian testing changed to use GCC 5 (actually, 5.2 with
      the new C++11 ABI used by default). I now get

      * checking whether package ‘mongolite’ can be installed ... [14s/17s] WARNING
      Found the following significant warnings:
        bson/bson-macros.h:208:19: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        bson/bson-macros.h:194:19: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        bson/bson.c:752:22: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-bulk-operation.c:252:23: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-bulk-operation.c:295:29: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-bulk-operation.c:338:29: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-util-private.h:31:43: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-cursor.c:932:22: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
        mongoc/mongoc-uri.c:980:22: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bjori Hannes Magnusson
              Reporter:
              Jeroenooms Jeroen Ooms [X] (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: