Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-571

compact_protocol.c:89: warning: format not a string literal and no format arguments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: Ruby - Compiler
    • Labels:
      None
    • Environment:

      osx intel/10.6
      gcc 4.2
      ruby 1.9.1

    • Patch Info:
      Patch Available

      Description

      /usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby-1.9.1/i386-darwin10 -I/opt/local/include/ruby-1.9.1/ruby/backward -I/opt/local/include/ruby-1.9.1 -I. -DHAVE_STRLCPY -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -Wall -Werror -o binary_protocol_accelerated.o -c binary_protocol_accelerated.c
      /usr/bin/gcc-4.2 -I. -I/opt/local/include/ruby-1.9.1/i386-darwin10 -I/opt/local/include/ruby-1.9.1/ruby/backward -I/opt/local/include/ruby-1.9.1 -I. -DHAVE_STRLCPY -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -Wall -Werror -o compact_protocol.o -c compact_protocol.c
      cc1: warnings being treated as errors
      compact_protocol.c: In function 'get_compact_type':
      compact_protocol.c:89: warning: format not a string literal and no format arguments
      compact_protocol.c: In function 'get_ttype':
      compact_protocol.c:351: warning: format not a string literal and no format arguments
      make: *** [compact_protocol.o] Error 1

        Attachments

        1. compact_protocol.c.diff
          0.5 kB
          Brett Eisenberg

          Activity

            People

            • Assignee:
              beisenberg Brett Eisenberg
              Reporter:
              beisenberg Brett Eisenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: