GCC 5 warnings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.3.0-beta0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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]
      

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

                Created:
                Updated:
                Resolved: