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

cbson has compile warnings

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.12
    • Affects Version/s: 1.10.1
    • Component/s: None
    • None
    • Environment:
      Linux x64
    • 1

      ../../../../ext/cbson/cbson.c: In function ‘write_element’:
      ../../../../ext/cbson/cbson.c:179:31: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
       #define INT2STRING(buffer, i) asprintf(buffer, "%d", i);
                                     ^
      ../../../../ext/cbson/cbson.c:401:17: note: in expansion of macro ‘INT2STRING’
                       INT2STRING(&name, i);
                       ^
      

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: