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

GCC 5 warnings

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.3.0-beta0
    • None
    • None
    • None

    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

        Activity

          People

            bjori Hannes Magnusson
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: