Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8463

Fix 'format-pedantic' error in ex_verbose

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Storage - Ra 2021-11-29

      compile failed on * OS X 10.14 CMake

      Host: macos-1014-145.macstadium.build.10gen.cc
      Project: WiredTiger (develop)
      Commit: diff: WT-8257 Verbose Messaging Doc Page (#7241)

      • Added doc page on verbose messaging

      Updated the doxygen documentation with a new page on WiredTiger's
      verbose messaging system. This reflecting the recent changes to the
      configuration interface, including a discussion about the verbosity
      levels and categories.

      • Create a verbose messaging C example

      To demonstrate basic usage of the verbose messaging API, created
      a small example C program. The program configures a wiredtiger
      connection with verbose components. This additionally being useful
      to provide code snippets that can be used in an accompanying doc
      page. | 26 Nov 21 00:18 UTC
      Evergreen Subscription: ; Evergreen Event:

      Task Logs (compile)

       

      Error signature:

      [2021/11/26 01:51:45.206] /data/mci/079c52ec57ee6bb0ebece55a94185d41/wiredtiger/examples/c/ex_verbose.c:46:63: error: format specifies type 'void *' but the argument has type 'WT_SESSION *' (aka 'struct __wt_session *') [-Werror,-Wformat-pedantic]
      [2021/11/26 01:51:45.206]     printf("WiredTiger Message - Session: %p, Message: %s\n", session, message);
      [2021/11/26 01:51:45.206]                                           ~~                  ^~~~~~~
      [2021/11/26 01:51:45.213] 1 error generated. 

            Assignee:
            alison.felizzi@mongodb.com Alison Felizzi (Inactive)
            Reporter:
            xgen-evg-user Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: