hi

my project not build complete, because i have:
<error>
/usr/bin/c++  .......
/home/Flash/qt-virt-manager/src/vm_viewer/qspice_widgets/qspicesmartcardmanager.cpp:89:35:
error: invalid use of incomplete type «VReader {aka struct VReaderStruct}»
         _readerList.append(_reader->name);
                                   ^
In file included from /usr/include/cacard/eventt.h:8:0,
                 from /usr/include/cacard/vreader.h:9,
                 from
/home/Flash/qt-virt-manager/src/vm_viewer/qspice_widgets/qspicesmartcardmanager.cpp:2:
/usr/include/cacard/vreadert.h:16:16: warning: forward declaration of
«VReader {aka struct VReaderStruct}»
 typedef struct VReaderStruct VReader;
</error>

in system installed
libcacard.x86_64 2:2.3.1-7.fc22
libcacard-devel.x86_64 2:2.3.1-7.fc22

in code i'm use only
#include <vreader.h>
from libcacard

part of code:
<code>
        VReader *_reader =
                static_cast<VReader*>(g_list_nth_data(_list, i));
         _readerList.append(_reader->name);
</code>

I accept any advice.

Reply via email to