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

                 Key: THRIFT-571
                 URL: https://issues.apache.org/jira/browse/THRIFT-571
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (Ruby)
         Environment: osx intel/10.6
gcc 4.2
ruby 1.9.1
            Reporter: Brett Eisenberg


/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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to