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
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR.
it's compiling everywhere now: http://portsmon.freebsd.org/portoverview.py?category=net&portname=openh323