From: Krassimir Slavchev on
Hi,

I am trying to compile yate-devel port and it fails with:

c++ -Wall -I. -I.. -I/usr/local/include -O2 -fno-check-new
-fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -export-dynamic -shared
-Wl,--retain-symbols-file,/dev/null -L.. -lyate -o h323chan.yate
-DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES
-I/usr/local/include/ptlib -I/usr/local/include/openh323
-L/usr/local/lib h323chan.cpp -L/usr/local/lib -lopenh323
-L/usr/local/lib -lpt
In file included from /usr/local/include/openh323/h323ep.h:358,
from /usr/local/include/openh323/h323.h:484,
from h323chan.cpp:32:
/usr/local/include/openh323/h4601.h: In member function
'H460_FeatureContent::operator H460_FeatureTable*()':
/usr/local/include/openh323/h4601.h:293: warning: type-punning to
incomplete type might break strict-aliasing rules
h323chan.cpp: In function 'void<unnamed>::ListRegisteredCaps(int)':
h323chan.cpp:618: error: conversion from
'__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >' to non-scalar type
'__gnu_cxx::__normal_iterator<const PString*, std::vector<PString,
std::allocator<PString> > >' requested
h323chan.cpp:618: error: no match for 'operator!=' in 'find != list.
std::vector<_Tp, _Alloc>::end [with _Tp = std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, _Alloc =
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >]()'
gmake[1]: *** [h323chan.yate] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/yate-devel/work/yate-1.3.0/modules'
gmake: *** [modules] Error 2
*** Error code 1

Stop in /usr/ports/net/yate-devel.
*** Error code 1

Stop in /usr/ports/net/yate-devel.


The error is same under 7.x and 8.x.

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"