From: Richard V. <va...@sf...> - 2008-07-14 17:02:58
|
Fixed in SVN trunk. I've never seen GCC complain about the names of arguments in a prototype. The compiler doesn't traditionally use that information. For example, it's legel to omit the name! With each GCC release they're turning up the heat a bit. It's quite a pain because it means I should always test on the bleeding-edge compiler, but I don't want to update my boxes all the time. Richard/ On Mon, Jul 14, 2008 at 5:53 AM, Edward Rankin <er...@gm...> wrote: > To be honest, I would expect that to fail with earlier versions of gcc, > if not for the error you posted, it would be for the error that the > function prototype differs from the function definition. If I remember > right, gcc 4.1+ at least will display that error. I don't have a way to > verify that, since I my linux boxes are all running gcc 4.3. > > Edward > > Borja wrote: >> Hi, >> >> There is a small issue in compiling Stage 3.0.0 with gcc 4.3.1 (and later >> I suppose) due to some new restrictions imposed by gcc. >> >> In file included from >> /root/research/workspace/Stage-3.0.0-Source/libstage/stage_internal.hh:13, >> from /root/research/workspace/Stage-3.0.0-Source/libstage/ancestor.cc:2: >> /root/research/workspace/Stage-3.0.0-Source/libstage/stage.hh:1496: error: >> multiple parameters named 'dy' >> >> So, I guess the trivial solution should be to change the first 'dy' by >> 'dx', as follows: >> >> 1495: /** add values to a model's pose in its parent's coordinate system */ >> 1496: void AddToPose( double dx, double dy, double dz, double da ); >> >> -Borja >> >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan Autonomy Lab / Computing Science / Simon Fraser University |