From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 12 14:40:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B39D7DBA for ; Wed, 12 Mar 2014 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 908CA300 for ; Wed, 12 Mar 2014 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CEe1PY071023 for ; Wed, 12 Mar 2014 14:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2CEe1UG071022; Wed, 12 Mar 2014 14:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 12 Mar 2014 14:40:01 GMT Resent-Message-Id: <201403121440.s2CEe1UG071022@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Cecchin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12C9FB82 for ; Wed, 12 Mar 2014 14:32:56 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E744828C for ; Wed, 12 Mar 2014 14:32:55 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CEWtKU065128 for ; Wed, 12 Mar 2014 14:32:55 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2CEWttC065123; Wed, 12 Mar 2014 14:32:55 GMT (envelope-from nobody) Message-Id: <201403121432.s2CEWttC065123@cgiserv.freebsd.org> Date: Wed, 12 Mar 2014 14:32:55 GMT From: David Cecchin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/187478: net/openh323-1.19.0.1_6 does not compile X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 14:40:01 -0000 >Number: 187478 >Category: misc >Synopsis: net/openh323-1.19.0.1_6 does not compile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 12 14:40:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: David Cecchin >Release: 10.0-RELEASE-p0 >Organization: >Environment: FreeBSD sanction 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Port does not compile: /usr/local/include/ptlib/array.h:391:3: warning: first operand of this 'memcmp' call is a pointer to dynamic class 'const PBaseArray'; vtable pointer will be compared [-Wdynamic-class-memaccess] PCLASSINFO(PBaseArray, PAbstractArray); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO' { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \ ~~~~~~ ^ /usr/local/include/ptlib/array.h:616:26: note: in instantiation of member function 'PBaseArray::CompareObjectMemoryDirect' requested here template class PScalarArray : public PBaseArray ^ /usr/local/include/ptlib/array.h:391:3: note: explicitly cast the pointer to silence this warning PCLASSINFO(PBaseArray, PAbstractArray); ^ /usr/local/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO' { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \ ^ In file included from h225_2.cxx:7: In file included from /usr/local/include/ptlib.h:161: In file included from /usr/local/include/ptlib/contain.h:814: /usr/local/include/ptlib/dict.h:997:3: warning: first operand of this 'memcmp' call is a pointer to dynamic class 'const PDictionary'; vtable pointer will be compared [-Wdynamic-class-memaccess] PCLASSINFO(PDictionary, PAbstractDictionary); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO' { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \ ~~~~~~ ^ /usr/local/include/ptlib/syncthrd.h:294:7: note: in instantiation of member function 'PDictionary::CompareObjectMemoryDirect' requested here class PReadWriteMutex : public PObject ^ /usr/local/include/ptlib/dict.h:997:3: note: explicitly cast the pointer to silence this warning PCLASSINFO(PDictionary, PAbstractDictionary); ^ /usr/local/include/ptlib/object.h:1381:35: note: expanded from macro 'PCLASSINFO' { return (Comparison)memcmp(this, &obj, sizeof(cls)); } \ ^ 888 warnings and 8 errors generated. gmake[3]: *** [/usr/ports/net/openh323/work/openh323_v1_19_0_1/lib/obj_r/h225_2.o] Error 1 gmake[3]: Leaving directory `/usr/ports/net/openh323/work/openh323_v1_19_0_1/src' gmake[2]: *** [opt] Error 2 gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323_v1_19_0_1' gmake[1]: *** [optshared] Error 2 gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323_v1_19_0_1' ===> Compilation failed unexpectedly. >How-To-Repeat: Merge port >Fix: >Release-Note: >Audit-Trail: >Unformatted: