Hello Matthias This looks like another problem with the compiler (I had no feedback from you regarding #984230)
Here's the code: mdb_get_objtype_string(int obj_type) { static const char *type_name[] = {"Form", "Table", "Macro", "System Table", "Report", "Query", "Linked Table", "Module", "Relationship", "Unknown 0x09", "User Info", "Database" }; if (obj_type >= (int)(sizeof(type_name)/sizeof(type_name[0]))) { return NULL; } else { return type_name[obj_type]; } } (...) for (i=0;i<mdb->num_catalog;i++) { entry = g_ptr_array_index(mdb->catalog,i); printf("Type: %-12s", mdb_get_objtype_string(entry->object_type)); } Yelding: error: ‘%-12s’ directive argument is null But the mdb is read from a file, and I can't see why and how the compiler would decide/know the entry is out of range in g_ptr_array_index and assume mdb_get_objtype_string would return NULL anyway... Regarding the second issue, I can't see errors being redirected to null. Are you building the package with a tool such as debuild?
signature.asc
Description: This is a digitally signed message part.