Re: [repro-users] Compile error with repro project
Hi Everybody,
I would like to use this opportunity to remind everyone that
representing the QValue as a float should be deprecated. The QValue
class is really an integer from 0 to 1000 that happens to have a
decimal point in its text-rendered representation. Please, please
use the canonical form. See for yourself at resip/stack/QValue.hxx .
Simon, good luck getting the project compiling cleanly.
thanks,
-rohan
On Nov 19, 2007, at 6:55 PM, Moret, Simon wrote:
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 be
any 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 Campen
I am using a Debian Sarge linux install to compile the resiprocate
project. 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
parameter
monkeys/StaticRoute.cxx:86: error: parse error before numeric
constant
monkeys/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
_______________________________________________
repro-users mailing list
repro-users@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/repro-users