[ros-users] database_interface broken?

Ugo Cupcic ugo at shadowrobot.com
Mon May 9 13:16:50 UTC 2011


Hi,

Sorry it took me so long to test this. If I comment the line then it
compiles fine and it seems to behave correctly.

I'm using gcc-4.6
gcc (Debian 4.6.0-7) 4.6.1 20110507 (prerelease)


Cheers,

Ugo

On Sat, Apr 23, 2011 at 7:31 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:

> I won't be in until next week. I'll give it a try then.
>
> Cheers,
>
> Ugo
> On 22 Apr 2011 23:53, "Matei Ciocarlie" <matei at willowgarage.com> wrote:
> > Hmm.. interesting. It definitely works fine for me. Maybe your
> > compiler is more strict than what we use?
> >
> > That line is only intended to make the class non-assignable, you
> > should be able to comment it out with no negative effects. Can you
> > give that a try?
> >
> > Matei
> >
> > On Thu, Apr 21, 2011 at 11:37 AM, Ugo Cupcic <ugo at shadowrobot.com>
> wrote:
> >> Hi,
> >>
> >> I have an overlay which checks out the trunk directly.
> >>
> >> Cheers,
> >>
> >> Ugo
> >>
> >> On 21 Apr 2011 17:40, "Matei Ciocarlie" <matei at willowgarage.com> wrote:
> >>> Hi Ugo,
> >>>
> >>> I'll take a look. Which version are you checking out, and how?
> >>>
> >>> Matei
> >>>
> >>> On Thu, Apr 21, 2011 at 7:03 AM, Ugo Cupcic <ugo at shadowrobot.com>
> wrote:
> >>>> Hi,
> >>>> I can't get the database_interface to compile on my computer. It
> >>>> complains
> >>>> about some pure virtual functions not being implemented.
> >>>> I'm using:
> >>>>
> >>>>
> https://code.ros.org/svn/wg-ros-pkg/stacks/sql_database/trunk/database_interface
> >>>> Any ideas?
> >>>> Cheers,
> >>>> Ugo
> >>>> PS: the error is below
> >>>> In file included from
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_class.h:40:0,
> >>>>                  from
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/postgresql_database.h:48,
> >>>>                  from
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/src/postgresql_database.cpp:37:
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:77:21:
> >>>> error: invalid abstract return type for member function ‘const
> >>>> database_interface::DBFieldBase
> >>>> database_interface::DBFieldBase::operator=(const
> >>>> database_interface::DBFieldBase&)’
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:73:1:
> >>>> note:   because the following virtual functions are pure within
> >>>> ‘database_interface::DBFieldBase’:
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:121:16:
> >>>> note: virtual bool database_interface::DBFieldBase::fromString(const
> >>>> std::string&)
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:123:16:
> >>>> note: virtual bool
> >>>> database_interface::DBFieldBase::toString(std::string&)
> >>>> const
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:126:16:
> >>>> note: virtual bool database_interface::DBFieldBase::fromBinary(const
> >>>> char*,
> >>>> size_t)
> >>>>
> >>>>
> /opt/ros/ros_overlay/pr2all-overlay-devel/sql_database/database_interface/include/database_interface/db_field.h:130:16:
> >>>> note: virtual bool database_interface::DBFieldBase::toBinary(const
> >>>> char*&,
> >>>> size_t&) const
> >>>> --
> >>>> Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
> >>>> Software Engineer | 251 Liverpool Road |
> >>>> need a Hand? | London N1 1LX | +44 20 7700 2487
> >>>> http://www.shadowrobot.com/hand/ @shadowrobot
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> ros-users mailing list
> >>>> ros-users at code.ros.org
> >>>> https://code.ros.org/mailman/listinfo/ros-users
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Matei Ciocarlie
> >>> Research Scientist
> >>> Willow Garage Inc.
> >>> 650-475-9780
> >>> _______________________________________________
> >>> ros-users mailing list
> >>> ros-users at code.ros.org
> >>> https://code.ros.org/mailman/listinfo/ros-users
> >>
> >> _______________________________________________
> >> ros-users mailing list
> >> ros-users at code.ros.org
> >> https://code.ros.org/mailman/listinfo/ros-users
> >>
> >>
> >
> >
> >
> > --
> > Matei Ciocarlie
> > Research Scientist
> > Willow Garage Inc.
> > 650-475-9780
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
http://www.shadowrobot.com/hand/ @shadowrobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110509/5df43de1/attachment-0001.html>


More information about the ros-users mailing list