Warning thrown when compiling c extensions under ruby 2.0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.8.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Mac OS X 10.8.2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ../../../../ext/cbson/cbson.c:962:55: warning: format specifies type 'char *' but the argument has type 'VALUE'
            (aka 'unsigned long') [-Wformat]
              rb_raise(InvalidObjectId, "not a String: %s", inspect);
                                                       ~~   ^~~~~~~
                                                       %lu
      1 warning generated.
      

            Assignee:
            Tyler Brock (Inactive)
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: