tng 2002/08/21 10:45:00 Modified: c/src/xercesc/util RefArrayOf.hpp RefHashTableOf.hpp RefStackOf.hpp RefVectorOf.hpp ValueArrayOf.hpp ValueHashTableOf.hpp ValueStackOf.hpp ValueVectorOf.hpp XMLEnumerator.hpp Log: [Bug 7087] compiler warnings when using gcc. Revision Changes Path 1.2 +17 -14 xml-xerces/c/src/xercesc/util/RefArrayOf.hpp Index: RefArrayOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefArrayOf.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RefArrayOf.hpp 1 Feb 2002 22:22:11 -0000 1.1 +++ RefArrayOf.hpp 21 Aug 2002 17:44:59 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:11 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:44:59 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:11 peiyongz + * sane_include * * Revision 1.4 2000/03/02 19:54:44 roddey * This checkin includes many changes done while waiting for the @@ -155,7 +158,7 @@ RefArrayOf<TElem>* const toEnum , const bool adopt = false ); - ~RefArrayEnumerator(); + virtual ~RefArrayEnumerator(); // ----------------------------------------------------------------------- @@ -166,7 +169,7 @@ void Reset(); -private : +private : // ----------------------------------------------------------------------- // Data Members // 1.5 +5 -1 xml-xerces/c/src/xercesc/util/RefHashTableOf.hpp Index: RefHashTableOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHashTableOf.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RefHashTableOf.hpp 11 Jul 2002 18:49:53 -0000 1.4 +++ RefHashTableOf.hpp 21 Aug 2002 17:45:00 -0000 1.5 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.5 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * * Revision 1.4 2002/07/11 18:49:53 knoaman * Add setAdoptElements method. * Rename removeBucketElemSafe to orphanKey. @@ -253,7 +256,7 @@ // Constructors and Destructor // ----------------------------------------------------------------------- RefHashTableOfEnumerator(RefHashTableOf<TVal>* const toEnum, const bool adopt = false); - ~RefHashTableOfEnumerator(); + virtual ~RefHashTableOfEnumerator(); // ----------------------------------------------------------------------- 1.2 +17 -14 xml-xerces/c/src/xercesc/util/RefStackOf.hpp Index: RefStackOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefStackOf.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RefStackOf.hpp 1 Feb 2002 22:22:12 -0000 1.1 +++ RefStackOf.hpp 21 Aug 2002 17:45:00 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:12 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:12 peiyongz + * sane_include * * Revision 1.4 2000/03/02 19:54:45 roddey * This checkin includes many changes done while waiting for the @@ -158,7 +161,7 @@ RefStackOf<TElem>* const toEnum , const bool adopt = false ); - ~RefStackEnumerator(); + virtual ~RefStackEnumerator(); // ----------------------------------------------------------------------- @@ -169,7 +172,7 @@ void Reset(); -private : +private : // ----------------------------------------------------------------------- // Data Members // 1.3 +4 -1 xml-xerces/c/src/xercesc/util/RefVectorOf.hpp Index: RefVectorOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefVectorOf.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- RefVectorOf.hpp 5 Feb 2002 13:11:06 -0000 1.2 +++ RefVectorOf.hpp 21 Aug 2002 17:45:00 -0000 1.3 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.3 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * * Revision 1.2 2002/02/05 13:11:06 tng * [Bug 6114] Memory leaks on iDOM getElementsByTagName(). * @@ -159,7 +162,7 @@ RefVectorOf<TElem>* const toEnum , const bool adopt = false ); - ~RefVectorEnumerator(); + virtual ~RefVectorEnumerator(); // ----------------------------------------------------------------------- 1.2 +17 -14 xml-xerces/c/src/xercesc/util/ValueArrayOf.hpp Index: ValueArrayOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/ValueArrayOf.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ValueArrayOf.hpp 1 Feb 2002 22:22:13 -0000 1.1 +++ ValueArrayOf.hpp 21 Aug 2002 17:45:00 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:13 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:13 peiyongz + * sane_include * * Revision 1.4 2000/03/02 19:54:47 roddey * This checkin includes many changes done while waiting for the @@ -152,7 +155,7 @@ ValueArrayOf<TElem>* const toEnum , const bool adopt = false ); - ~ValueArrayEnumerator(); + virtual ~ValueArrayEnumerator(); // ----------------------------------------------------------------------- @@ -163,7 +166,7 @@ void Reset(); -private : +private : // ----------------------------------------------------------------------- // Data Members // 1.5 +2 -2 xml-xerces/c/src/xercesc/util/ValueHashTableOf.hpp Index: ValueHashTableOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/ValueHashTableOf.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ValueHashTableOf.hpp 12 Jun 2002 17:15:12 -0000 1.4 +++ ValueHashTableOf.hpp 21 Aug 2002 17:45:00 -0000 1.5 @@ -186,7 +186,7 @@ // Constructors and Destructor // ----------------------------------------------------------------------- ValueHashTableOfEnumerator(ValueHashTableOf<TVal>* const toEnum, const bool adopt = false); - ~ValueHashTableOfEnumerator(); + virtual ~ValueHashTableOfEnumerator(); // ----------------------------------------------------------------------- 1.2 +17 -14 xml-xerces/c/src/xercesc/util/ValueStackOf.hpp Index: ValueStackOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/ValueStackOf.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ValueStackOf.hpp 1 Feb 2002 22:22:13 -0000 1.1 +++ ValueStackOf.hpp 21 Aug 2002 17:45:00 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:13 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:13 peiyongz + * sane_include * * Revision 1.4 2000/03/02 19:54:47 roddey * This checkin includes many changes done while waiting for the @@ -155,7 +158,7 @@ ValueStackOf<TElem>* const toEnum , const bool adopt = false ); - ~ValueStackEnumerator(); + virtual ~ValueStackEnumerator(); // ----------------------------------------------------------------------- @@ -166,7 +169,7 @@ void Reset(); -private : +private : // ----------------------------------------------------------------------- // Data Members // 1.2 +18 -15 xml-xerces/c/src/xercesc/util/ValueVectorOf.hpp Index: ValueVectorOf.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/ValueVectorOf.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ValueVectorOf.hpp 1 Feb 2002 22:22:13 -0000 1.1 +++ ValueVectorOf.hpp 21 Aug 2002 17:45:00 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:13 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:13 peiyongz + * sane_include * * Revision 1.6 2002/01/10 17:44:49 knoaman * Fix for bug 5786. @@ -109,7 +112,7 @@ // ----------------------------------------------------------------------- ValueVectorOf<TElem>& operator=(const ValueVectorOf<TElem>& toAssign); - + // ----------------------------------------------------------------------- // Element management // ----------------------------------------------------------------------- @@ -173,7 +176,7 @@ ValueVectorOf<TElem>* const toEnum , const bool adopt = false ); - ~ValueVectorEnumerator(); + virtual ~ValueVectorEnumerator(); // ----------------------------------------------------------------------- @@ -184,7 +187,7 @@ void Reset(); -private : +private : // ----------------------------------------------------------------------- // Data Members // 1.2 +20 -12 xml-xerces/c/src/xercesc/util/XMLEnumerator.hpp Index: XMLEnumerator.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLEnumerator.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- XMLEnumerator.hpp 1 Feb 2002 22:22:15 -0000 1.1 +++ XMLEnumerator.hpp 21 Aug 2002 17:45:00 -0000 1.2 @@ -1,37 +1,37 @@ /* * The Apache Software License, Version 1.1 - * + * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + * notice, this list of conditions and the following disclaimer. + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: + * if any, must include the following acknowledgment: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowledgment may appear in the software itself, * if and wherever such third-party acknowledgments normally appear. - * + * * 4. The names "Xerces" and "Apache Software Foundation" must * not be used to endorse or promote products derived from this - * software without prior written permission. For written + * software without prior written permission. For written * permission, please contact apache\@apache.org. - * + * * 5. Products derived from this software may not be called "Apache", * nor may "Apache" appear in their name, without prior written * permission of the Apache Software Foundation. - * + * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -45,7 +45,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== - * + * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation, and was * originally based on software copyright (c) 1999, International @@ -56,8 +56,11 @@ /* * $Log$ - * Revision 1.1 2002/02/01 22:22:15 peiyongz - * Initial revision + * Revision 1.2 2002/08/21 17:45:00 tng + * [Bug 7087] compiler warnings when using gcc. + * + * Revision 1.1.1.1 2002/02/01 22:22:15 peiyongz + * sane_include * * Revision 1.4 2000/03/02 19:54:48 roddey * This checkin includes many changes done while waiting for the @@ -87,6 +90,11 @@ template <class TElem> class XMLEnumerator { public : + // ----------------------------------------------------------------------- + // Destructor + // ----------------------------------------------------------------------- + virtual ~XMLEnumerator() {}; + // ----------------------------------------------------------------------- // XMLEnumerator interface // -----------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]