misc/187478: net/openh323-1.19.0.1_6 does not compile

David Cecchin dcecchin at gmail.com
Wed Mar 12 14:40:01 UTC 2014


>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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list