Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-567

Warning thrown when compiling c extensions under ruby 2.0

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

      ../../../../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@10gen.com Tyler Brock
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: