libqmi under c++
Dan Williams
dcbw at redhat.com
Mon Aug 31 08:38:15 PDT 2015
On Mon, 2015-08-31 at 08:31 +0200, Aleksander Morgado wrote:
> On Mon, Aug 31, 2015 at 6:00 AM, tom <tomschuring at gmail.com> wrote:
> > has anyone used libqmi under c++ instead of c ?
> >
> > when including libqmi-glib.h i receive two
> >
> > /usr/include/libqmi-glib/qmi-dms.h:2356:19: error: expected ',' or '...'
> > before 'new'
> > const gchar **new,
> > ^
> > /usr/include/libqmi-glib/qmi-dms.h:2361:18: error: expected ',' or '...'
> > before 'new'
> > const gchar *new,
> >
> > errors.
> >
> > is this expected under c++ ?
>
> Yeah, bad choice of variable name, the error is expected under C++.
>
> Patches to avoid that are welcome.
Pushed a fix for this one to master, 1.12, and 1.10...
Dan
More information about the libqmi-devel
mailing list