Build not compiling (gcc 4.6.1, x86_64)

Bug #811797 reported by ujjwal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DroidPad - Linux client
New
Undecided
Unassigned

Bug Description

When I try to build the source code for droidpad, I get the following error:

statfuncs.cpp: In function ‘Glib::ustring getOption(Glib::ustring, Glib::ustring, Glib::ustring)’:
statfuncs.cpp:52:23: error: cannot call constructor ‘Glib::ustring::ustring’ directly [-fpermissive]
statfuncs.cpp:52:23: error: for a function-style cast, remove the redundant ‘::ustring’ [-fpermissive]

This can be fixed by removing the explicit constructor call. I have attached the patch.

Revision history for this message
ujjwal (ujjwaldasgupta) wrote :
Revision history for this message
Will Shackleton (w-shackleton) wrote :

Ah, thanks for pointing that out.
I had found this bug earlier, and had put it into the bzr repository, but it hadn't made its way to the PPA yet.

Uploading a new version now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.