| < Previous by Date | Date Index | Next by Date > |
| < Previous in Thread | Thread Index |
How about the following?
QValueTarget target(resip::NameAddr(*i), 1.0f);
Best regards,
Byron Campen
The tip (rev 7414) has the same problem. Adding a typecast to a float (Scott's suggestion) also had no real effect.Casting the NameAddr construction to the resip version lets it compile, it makes me wonder if there is a different NameAddr around. I probably won't get to testing the built image today but I suspect there won't beany issues. QValueTarget target((resip::NameAddr)NameAddr(*i), 1.0f); Thanks, Simon. -----Original Message----- From: Byron Campen [mailto:bcampen@xxxxxxxxxxxx] Sent: Tuesday, November 20, 2007 3:20 AM To: Moret, Simon Cc: repro-users@xxxxxxxxxxxxxxx Subject: Re: [repro-users] Compile error with repro project Ok, I just committed a fix to head, give it a shot and see if it works. Best regards, Byron CampenI am using a Debian Sarge linux install to compile the resiprocateproject. The current tip / 1.2 release fail to compile with the error below while the 1.1 release compiles & links. If anyone has any ideas,it would be appreciated. Thanks, Simon. g++ -march=i686 -D_REENTRANT -g -Wall -I.. -I/usr/include/db4 -I ../build/.. -I../build/.. -I../build/../contrib/ares -I/usr/include -DOS_MAJOR_VER=2 -DOS_MINOR_VER=6 -DOS_POINT_VER=16 -DOS_PATCH_VER=38 -DUSE_ARES -DUSE_SSL -DHAVE_POPT _H -c -o obj.debug.Linux.i686/monkeys/StaticRoute.o monkeys/StaticRoute.cxx monkeys/StaticRoute.cxx: In member function `virtual repro::Processor::processor_action_t repro::StaticRoute::process(repro::RequestContext&)': monkeys/StaticRoute.cxx:86: error: type specifier omitted for parametermonkeys/StaticRoute.cxx:86: error: parse error before numeric constantmonkeys/StaticRoute.cxx:87: error: no matching function for call to ` repro::ResponseContext::addTarget(repro::QValueTarget (&)(...), bool, bool&) ' ../repro/ResponseContext.hxx:54: error: candidates are: resip::Data repro::ResponseContext::addTarget(const resip::NameAddr&, bool, bool) ../repro/ResponseContext.hxx:72: error: bool repro::ResponseContext::addTarget(repro::Target&, bool, bool) make[1]: *** [obj.debug.Linux.i686/monkeys/StaticRoute.o] Error 1 make[1]: Leaving directory `/home/smoret/Projects/resiprocate/repro' make: *** [repro] Error 2 smoret@smoret:~/Projects/resiprocate$ _______________________________________________ repro-users mailing list repro-users@xxxxxxxxxxxxxxx https://list.resiprocate.org/mailman/listinfo/repro-users
Attachment:
smime.p7s
Description: S/MIME cryptographic signature