You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Brett Eisenberg (JIRA)" <ji...@apache.org> on 2009/09/01 04:35:32 UTC

[jira] Created: (THRIFT-571) compact_protocol.c:89: warning: format not a string literal and no format arguments

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.


[jira] Updated: (THRIFT-571) compact_protocol.c:89: warning: format not a string literal and no format arguments

Posted by "Brett Eisenberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Eisenberg updated THRIFT-571:
-----------------------------------

    Attachment: compact_protocol.c.diff

> 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
>         Attachments: compact_protocol.c.diff
>
>
> /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.


[jira] Resolved: (THRIFT-571) compact_protocol.c:89: warning: format not a string literal and no format arguments

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury resolved THRIFT-571.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2
         Assignee: Brett Eisenberg

I just committed this patch. Thanks Brett!

> 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
>            Assignee: Brett Eisenberg
>             Fix For: 0.2
>
>         Attachments: compact_protocol.c.diff
>
>
> /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.