Description of problem: Something is wrong with glib/glibmm Version-Release number of selected component (if applicable): glibmm24-devel-2.16.0-1.fc9.x86_64 glib2-devel-2.16.3-5.fc9.x86_64 How reproducible: Compile and run this: RefPtr<Cancellable> cancellable = Cancellable::create(); RefPtr<File> pluginsDir = File::create_for_path(PACKAGE_PLUGINS_DIR); RefPtr<FileEnumerator> fileEnumerator = pluginsDir->enumerate_children(cancellable, "*.so"); RefPtr<FileInfo> fileInfo; while ((fileInfo = fileEnumerator->next_file()) != NULL) { std::cout << "check: " << fileInfo->get_name() << std::endl; } Actual results: glibmm-WARNING **: failed to wrap type of 'GLocalFileEnumerator' after this, crush when use file enumerator Expected results: read contents of directory Additional info:
Could you reproduce with glibmm24 2.16.2 ? (currently available as a F-9 stable update).
With 2.16.2 I have the same error as 2.16.0
Looks like you forgot to call "Gio::init()".
Thats it, sorry I forgot, now giomm wrap correctly