axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/soap Makefile.in SoapDeSerializer.cpp
Date Tue, 16 Nov 2004 04:54:55 GMT
samisa      2004/11/15 20:54:55

  Modified:    c/src/soap Makefile.in SoapDeSerializer.cpp
  Log:
  Eliminated most of the "deleting `void*' is undefined" warnings.
  Couple of those relted to object types still remain.
  
  Revision  Changes    Path
  1.9       +1 -0      ws-axis/c/src/soap/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/Makefile.in,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.in	5 Nov 2004 09:44:19 -0000	1.8
  +++ Makefile.in	16 Nov 2004 04:54:54 -0000	1.9
  @@ -159,6 +159,7 @@
   SHELL = @SHELL@
   STRIP = @STRIP@
   TESTCASESBUILD = @TESTCASESBUILD@
  +TSPPBUILD = @TSPPBUILD@
   VERSION = @VERSION@
   XERCESCBUILD = @XERCESCBUILD@
   XERCESCINC = @XERCESCINC@
  
  
  
  1.102     +12 -12    ws-axis/c/src/soap/SoapDeSerializer.cpp
  
  Index: SoapDeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapDeSerializer.cpp,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- SoapDeSerializer.cpp	12 Nov 2004 11:40:06 -0000	1.101
  +++ SoapDeSerializer.cpp	16 Nov 2004 04:54:54 -0000	1.102
  @@ -724,7 +724,7 @@
       }\
       /* error : unexpected element type or end of stream */\
       m_nStatus = AXIS_FAIL;\
  -    delete [] Array.m_Array;\
  +    delete [] (cpp_type*)Array.m_Array;\
       Array.m_Array = 0;\
       Array.m_Size = 0;\
       return Array;\
  @@ -747,7 +747,7 @@
                       if (!m_pNode)\
                       {\
                           m_nStatus = AXIS_FAIL;\
  -                        delete [] Array.m_Array;\
  +                        delete [] (cpp_type*)Array.m_Array;\
                           Array.m_Array = 0;\
                           Array.m_Size = 0;\
                           return Array;\
  @@ -784,7 +784,7 @@
                       /* if we come here it is an error situation */\
                       m_nStatus = AXIS_FAIL;\
                       m_pNode = NULL;\
  -                    delete [] Array.m_Array;\
  +                    delete [] (cpp_type*)Array.m_Array;\
                       Array.m_Array = 0;\
                       Array.m_Size = 0;\
                       return Array;\
  @@ -799,7 +799,7 @@
                       return Array;\
                   }\
                   memcpy(Array.m_Array,tmp,Array.m_Size*sizeof(cpp_type));\
  -                delete [] tmp;\
  +                delete [] (cpp_type*)tmp;\
                   Array.m_Size *= 2;\
                   /*Array.m_RealSize = Array.m_Size;*/\
               }\
  @@ -848,7 +848,7 @@
                       }
                       /* error : unexpected element type or end of stream */
                       m_nStatus = AXIS_FAIL;
  -                    delete [] Array.m_Array;
  +                    delete [] (int*)Array.m_Array;
                       Array.m_Array = 0;
                       Array.m_Size = 0;
                       return Array;
  @@ -928,7 +928,7 @@
   					}
   					/* error : unexpected element type or end of stream */
   					m_nStatus = AXIS_FAIL;
  -					delete [] Array.m_Array;
  +					delete [] (long*)Array.m_Array;
   					Array.m_Array = 0;
   					Array.m_Size = 0;
   					return Array;
  @@ -959,7 +959,7 @@
                       if (!m_pNode) 
                       {
                           m_nStatus = AXIS_FAIL;
  -                        delete [] Array.m_Array;
  +                        delete [] (int*)Array.m_Array;
                           Array.m_Array = 0;
                           Array.m_Size = 0;
                           return Array;
  @@ -996,7 +996,7 @@
                       /* if we come here it is an error situation */
                       m_nStatus = AXIS_FAIL;
                       m_pNode = NULL;
  -                    delete [] Array.m_Array;
  +                    delete [] (int*)Array.m_Array;
                       Array.m_Array = 0;
                       Array.m_Size = 0;
                       return Array;
  @@ -1012,7 +1012,7 @@
                       return Array;
                   }
                   memcpy(Array.m_Array,tmp,Array.m_Size*sizeof(int));
  -                delete [] tmp;
  +                delete [] (int*)tmp;
                   Array.m_Size *= 2;
                   /* Array.m_RealSize = Array.m_Size;*/
               }
  @@ -1078,7 +1078,7 @@
                       if (!m_pNode)
                       {
                           m_nStatus = AXIS_FAIL;
  -                        delete [] Array.m_Array;
  +                        delete [] (long*)Array.m_Array;
                           Array.m_Array = 0;
                           Array.m_Size = 0;
                           return Array;
  @@ -1126,7 +1126,7 @@
                       /* if we come here it is an error situation */
                       m_nStatus = AXIS_FAIL;
                       m_pNode = NULL;
  -                    delete [] Array.m_Array;
  +                    delete [] (long*)Array.m_Array;
                       Array.m_Array = 0;
                       Array.m_Size = 0;
                       return Array;
  @@ -1141,7 +1141,7 @@
                       return Array;
                   }
                   memcpy(Array.m_Array,tmp,Array.m_Size*sizeof(long));
  -                delete [] tmp;
  +                delete [] (long*)tmp;
                   Array.m_Size *= 2;
                   /*Array.m_RealSize = Array.m_Size;*/
               }
  
  
  

Mime
View raw message