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 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" 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 > wrote: > >> Hi, > >> > >> I have an overlay which checks out the trunk directly. > >> > >> Cheers, > >> > >> Ugo > >> > >> On 21 Apr 2011 17:40, "Matei Ciocarlie" 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 > 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@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@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@code.ros.org > >>> https://code.ros.org/mailman/listinfo/ros-users > >> > >> _______________________________________________ > >> ros-users mailing list > >> ros-users@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@code.ros.org > > https://code.ros.org/mailman/listinfo/ros-users > -- Ugo Cupcic | Shadow Robot Company | ugo@shadowrobot.com Software Engineer | 251 Liverpool Road | need a Hand? | London N1 1LX | +44 20 7700 2487 http://www.shadowrobot.com/hand/ @shadowrobot