Re: prepare_create_table wrapping - part2



You have misspelt CreateTableArgTraits in some places (CreateTableArgTriats), but not everywhere.

You can remove the CONVERSION()s to Glib::RefPtr<const ServerOperationCreateTableArg> and Glib::RefPtr<ServerOperationCreateTableArg>. I suppose they are not used, and therefore make no harm.

There may be other errors, I haven't studied your code in detail.


Den 2017-05-13 kl. 05:45, skrev Pavlo Solntsev:
ok,
I implemented my CreateTableArgTriats struct similar to the given
example. I also added CreateTableArg class but without all methods.
Now, I have incomplete class CreateTableArg

In file included from /home/pavlo/jhbuild/install/include/glibmm-
2.54/glibmm.h:142:0,
                  from
/home/pavlo/jhbuild/checkout/libgdamm/libgda/libgdamm/serveroperation.c
c:4:
/home/pavlo/jhbuild/install/include/glibmm-2.54/glibmm/vectorutils.h:
In instantiation of ‘class
Glib::ListHandler<Gnome::Gda::ServerOperation::CreateTableArg,
Gnome::Gda::CreateTableArgTriats>’:
/home/pavlo/jhbuild/checkout/libgdamm/libgda/libgdamm/serveroperation.c
c:100:72:   required from here
/home/pavlo/jhbuild/install/include/glibmm-
2.54/glibmm/vectorutils.h:533:35: error: invalid use of incomplete type
‘class Gnome::Gda::CreateTableArgTriats’
    using CType = typename Tr::CType;
                                    ^
and also
/home/pavlo/jhbuild/install/include/glibmm-
2.54/glibmm/vectorutils.h:859:27: error: incomplete type
‘Gnome::Gda::CreateTableArgTriats’ used in nested name specifier
          Tr::release_c_type(static_cast<CTypeNonConst>(node->data));
          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

What did I miss?






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]