From nobody@FreeBSD.org  Wed Mar 12 14:32:56 2014
Return-Path: <nobody@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 12C9FB82
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dcecchin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/openh323-1.19.0.1_6 does not compile
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187478
>Category:       ports
>Synopsis:       net/openh323-1.19.0.1_6 does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-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:  Wed Mar 12 15:46:36 UTC 2014
>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<unsigned int>'; 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<unsigned int>::CompareObjectMemoryDirect' requested here
template <class T> class PScalarArray : public PBaseArray<T>
                         ^
/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<POrdinalKey, PReadWriteMutex::Nest>'; 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<POrdinalKey, PReadWriteMutex::Nest>::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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 12 15:46:25 UTC 2014 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187478 
>Unformatted:
