qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fad...@apache.org
Subject svn commit: r1534282 - in /qpid/proton/trunk/proton-c/bindings: java/java.i perl/perl.i php/php.i python/python.i ruby/ruby.i
Date Mon, 21 Oct 2013 17:13:59 GMT
Author: fadams
Date: Mon Oct 21 17:13:59 2013
New Revision: 1534282

URL: http://svn.apache.org/r1534282
Log:
JIRA: PROTON-442 PROTON-442: When building proton I get Warning Setting a const char * variable
may leak memory. should really strive for a clean build.

Modified:
    qpid/proton/trunk/proton-c/bindings/java/java.i
    qpid/proton/trunk/proton-c/bindings/perl/perl.i
    qpid/proton/trunk/proton-c/bindings/php/php.i
    qpid/proton/trunk/proton-c/bindings/python/python.i
    qpid/proton/trunk/proton-c/bindings/ruby/ruby.i

Modified: qpid/proton/trunk/proton-c/bindings/java/java.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/java/java.i?rev=1534282&r1=1534281&r2=1534282&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/java/java.i (original)
+++ qpid/proton/trunk/proton-c/bindings/java/java.i Mon Oct 21 17:13:59 2013
@@ -357,6 +357,8 @@ JNIEXPORT void JNICALL Java_org_apache_q
 %}
 %ignore pn_delivery_set_context;
 
+// Suppress "Warning(451): Setting a const char * variable may leak memory." on pn_delivery_tag_t
+%warnfilter(451) pn_delivery_tag_t;
 %native (pn_delivery_tag) jbyteArray pn_delivery_tag(pn_delivery_t);
 %{
 

Modified: qpid/proton/trunk/proton-c/bindings/perl/perl.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/perl/perl.i?rev=1534282&r1=1534281&r2=1534282&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/perl/perl.i (original)
+++ qpid/proton/trunk/proton-c/bindings/perl/perl.i Mon Oct 21 17:13:59 2013
@@ -231,6 +231,8 @@ ssize_t pn_transport_input(pn_transport_
 %}
 %ignore pn_delivery;
 
+// Suppress "Warning(451): Setting a const char * variable may leak memory." on pn_delivery_tag_t
+%warnfilter(451) pn_delivery_tag_t;
 %rename(pn_delivery_tag) wrap_pn_delivery_tag;
 %inline %{
   void wrap_pn_delivery_tag(pn_delivery_t *delivery, char **ALLOC_OUTPUT, size_t *ALLOC_SIZE)
{

Modified: qpid/proton/trunk/proton-c/bindings/php/php.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/php/php.i?rev=1534282&r1=1534281&r2=1534282&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/php/php.i (original)
+++ qpid/proton/trunk/proton-c/bindings/php/php.i Mon Oct 21 17:13:59 2013
@@ -224,6 +224,9 @@ ssize_t pn_sasl_send(pn_sasl_t *sasl, ch
     // This allocates a copy of the binary buffer for return to the caller
     ZVAL_STRINGL($result, *($1), *($2), 1); // 1 = duplicate the input buffer
 }
+
+// Suppress "Warning(451): Setting a const char * variable may leak memory." on pn_delivery_tag_t
+%warnfilter(451) pn_delivery_tag_t;
 %rename(pn_delivery_tag) wrap_pn_delivery_tag;
 // in PHP: str = pn_delivery_tag(delivery);
 //

Modified: qpid/proton/trunk/proton-c/bindings/python/python.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/python.i?rev=1534282&r1=1534281&r2=1534282&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/python.i (original)
+++ qpid/proton/trunk/proton-c/bindings/python/python.i Mon Oct 21 17:13:59 2013
@@ -156,6 +156,8 @@ ssize_t pn_transport_input(pn_transport_
 %}
 %ignore pn_delivery;
 
+// Suppress "Warning(451): Setting a const char * variable may leak memory." on pn_delivery_tag_t
+%warnfilter(451) pn_delivery_tag_t;
 %rename(pn_delivery_tag) wrap_pn_delivery_tag;
 %inline %{
   void wrap_pn_delivery_tag(pn_delivery_t *delivery, char **ALLOC_OUTPUT, size_t *ALLOC_SIZE)
{

Modified: qpid/proton/trunk/proton-c/bindings/ruby/ruby.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/ruby/ruby.i?rev=1534282&r1=1534281&r2=1534282&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/ruby/ruby.i (original)
+++ qpid/proton/trunk/proton-c/bindings/ruby/ruby.i Mon Oct 21 17:13:59 2013
@@ -311,6 +311,8 @@ ssize_t pn_transport_input(pn_transport_
 %}
 %ignore pn_delivery;
 
+// Suppress "Warning(451): Setting a const char * variable may leak memory." on pn_delivery_tag_t
+%warnfilter(451) pn_delivery_tag_t;
 %rename(pn_delivery_tag) wrap_pn_delivery_tag;
 %inline %{
   void wrap_pn_delivery_tag(pn_delivery_t *delivery, char **ALLOC_OUTPUT, size_t *ALLOC_SIZE)
{



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message