Snippets for abiword 3.0.8 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/abiword/3.0.8/150amd64-default.log.
-
ev_UnixFontCombo.cpp:248:25: warning: cast from 'void (*)(AbiCellRendererFontClass *)' (aka 'void (*)(_AbiCellRendererFontClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 248 | (GClassInitFunc) abi_cell_renderer_font_class_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ev_UnixFontCombo.cpp:253:25: warning: cast from 'void (*)(AbiCellRendererFont *)' (aka 'void (*)(_AbiCellRendererFont *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 253 | (GInstanceInitFunc) abi_cell_renderer_font_instance_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ev_UnixFontCombo.cpp:403:25: warning: cast from 'void (*)(AbiFontComboClass *)' (aka 'void (*)(_AbiFontComboClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 403 | (GClassInitFunc) abi_font_combo_class_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ev_UnixFontCombo.cpp:408:25: warning: cast from 'void (*)(AbiFontCombo *)' (aka 'void (*)(_AbiFontCombo *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 408 | (GInstanceInitFunc) abi_font_combo_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../../../../src/af/xap/gtk/xap_UnixDialogHelper.h:68:7: warning: 'pointer_to_unary_function<int, int>' is deprecated [-Wdeprecated-declarations] 68 | std::pointer_to_unary_function<int, gboolean> *other_function); | ^ -
ev_EditBinding.cpp:227:6: warning: address of array 'this->m_pebMT' will always evaluate to 'true' [-Wpointer-bool-conversion] 227 | if (m_pebMT) { | ~~ ^~~~~~~ -
ev_EditBinding.cpp:288:7: warning: address of array 'this->m_pebMT' will always evaluate to 'true' [-Wpointer-bool-conversion] 288 | if (m_pebMT) { | ~~ ^~~~~~~ -
./gr_CairoPrintGraphics.h:81:20: warning: private field 'm_iDeviceResolution' is not used [-Wunused-private-field] 81 | UT_uint32 m_iDeviceResolution; | ^ -
./gr_UnixCairoGraphics.h:123:7: warning: private field 'm_double_buffered' is not used [-Wunused-private-field] 123 | bool m_double_buffered; | ^ -
gr_CairoImage.cpp:83:11: warning: 'rsvg_handle_write' is deprecated: Use 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations] 83 | result = rsvg_handle_write(m_svg, pBB->getPointer(0), pBB->getLength(), NULL); | ^ -
gr_CairoImage.cpp:91:11: warning: 'rsvg_handle_close' is deprecated: Use 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations] 91 | result = rsvg_handle_close(m_svg, NULL); | ^ -
gr_CairoImage.cpp:100:2: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] 100 | rsvg_handle_get_dimensions(m_svg, &m_size); | ^ -
gr_CairoImage.cpp:166:2: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 166 | rsvg_handle_render_cairo(m_svg, cr); | ^ -
gr_CairoImage.cpp:173:49: warning: 'rsvg_handle_get_pixbuf' is deprecated: Use 'rsvg_handle_get_pixbuf_and_error' instead [-Wdeprecated-declarations] 173 | m_rasterImage = new GR_UnixImage(name.c_str(), rsvg_handle_get_pixbuf(m_svg)); | ^ -
gr_CairoImage.cpp:180:2: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] 180 | rsvg_handle_render_cairo(m_svg, cr); | ^ -
gr_Caret.cpp:199:44: warning: unused parameter '_w' [-Wunused-parameter] 199 | void GR_Caret::s_blink_timeout(UT_Worker * _w) | ^ -
gr_CairoGraphics.cpp:1631:2: warning: 'pango_break' is deprecated [-Wdeprecated-declarations] 1631 | pango_break(ri.sUTF8->utf8_str(), | ^ -
gr_CairoGraphics.cpp:3539:3: warning: 'pango_coverage_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 3539 | pango_coverage_unref(m_pCover); | ^ -
ut_go_file.cpp:332:1: warning: cast from 'void (*)(GObjectClass *)' (aka 'void (*)(_GObjectClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 332 | GSF_CLASS (GsfOutputProxy, gsf_output_proxy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 333 | gsf_output_proxy_class_init, gsf_output_proxy_init, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | GSF_OUTPUT_TYPE) | ~~~~~~~~~~~~~~~~ -
ut_go_file.cpp:332:1: warning: cast from 'void (*)(GObject *)' (aka 'void (*)(_GObject *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 332 | GSF_CLASS (GsfOutputProxy, gsf_output_proxy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 333 | gsf_output_proxy_class_init, gsf_output_proxy_init, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | GSF_OUTPUT_TYPE) | ~~~~~~~~~~~~~~~~ -
ut_go_file.cpp:1999:9: warning: variable 'guess' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] 1999 | case XML_CHAR_ENCODING_ERROR: | ^~~~~~~~~~~~~~~~~~~~~~~ -
ut_go_file.cpp:2000:9: warning: variable 'guess' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] 2000 | case XML_CHAR_ENCODING_NONE: | ^~~~~~~~~~~~~~~~~~~~~~ -
ut_html.cpp:164:4: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations] 164 | xmlSubstituteEntitiesDefault (1); | ^ -
ut_iconv.cpp:151:13: warning: unused function 's_internal_init' [-Wunused-function] 151 | static void s_internal_init () | ^~~~~~~~~~~~~~~ -
ut_jpeg.cpp:197:13: warning: unused variable 'buffer' [-Wunused-variable] 197 | JSAMPARRAY buffer = (*cinfo.mem->alloc_sarray) | ^~~~~~ -
ut_misc.cpp:228:8: warning: Deprecated pre-processor symbol: replace with "G_UNICODE_SPACING_MARK" [-W#pragma-messages] 228 | case G_UNICODE_COMBINING_MARK: | ^ -
ut_rand.cpp:369:38: warning: unused variable 'random_poly_info' [-Wunused-const-variable] 369 | static const struct random_poly_info random_poly_info = | ^~~~~~~~~~~~~~~~ -
ut_string_class.cpp:74:26: warning: unused variable 'ucs2Empty' [-Wunused-const-variable] 74 | static const UT_UCS2Char ucs2Empty[] = { 0 }; | ^~~~~~~~~ -
ut_string.cpp:983:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 983 | register const UT_UCS4Char *haystack, *needle; | ^~~~~~~~ -
ut_string.cpp:984:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 984 | register UT_UCS4Char b, c; | ^~~~~~~~ -
ut_string.cpp:1009:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1009 | register UT_UCS4Char a; | ^~~~~~~~ -
ut_string.cpp:1010:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1010 | register const UT_UCS4Char *rhaystack, *rneedle; | ^~~~~~~~ -
ut_string.cpp:1150:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1150 | register const UT_UCS4Char *haystack, *needle; | ^~~~~~~~ -
ut_string.cpp:1151:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1151 | register UT_UCS4Char b, c; | ^~~~~~~~ -
ut_string.cpp:1176:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1176 | register UT_UCS4Char a; | ^~~~~~~~ -
ut_string.cpp:1177:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1177 | register const UT_UCS4Char *rhaystack, *rneedle; | ^~~~~~~~ -
ut_uuid.cpp:533:13: warning: assigning field to itself [-Wself-assign-field] 533 | m_bIsValid = m_bIsValid; | ^ -
ut_xml_libxml2.cpp:205:3: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations] 205 | xmlSubstituteEntitiesDefault (1); | ^ -
ut_xml_libxml2.cpp:206:13: warning: variable 'chucks' set but not used [-Wunused-but-set-variable] 206 | UT_sint32 chucks = -1; | ^ -
./xap_UnixDialogHelper.h:68:7: warning: 'pointer_to_unary_function<int, int>' is deprecated [-Wdeprecated-declarations] 68 | std::pointer_to_unary_function<int, gboolean> *other_function); | ^ -
xap_UnixDialogHelper.cpp:138:7: warning: 'pointer_to_unary_function<int, int>' is deprecated [-Wdeprecated-declarations] 138 | std::pointer_to_unary_function<int, gboolean> *other_function) | ^ -
xap_UnixDialogHelper.cpp:204:16: warning: 'pointer_to_unary_function<int, int>' is deprecated [-Wdeprecated-declarations] 204 | std::pointer_to_unary_function<int, gboolean> *other_function) | ^ -
./xap_UnixDlg_ColorChooser.h:32:6: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 32 | std::auto_ptr<UT_RGBColor> XAP_UnixDlg_RunColorChooser(GtkWindow* parent, | ^ -
xap_UnixDlg_ColorChooser.cpp:24:6: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 24 | std::auto_ptr<UT_RGBColor> XAP_UnixDlg_RunColorChooser(GtkWindow* parent, | ^ -
xap_UnixDlg_ColorChooser.cpp:57:14: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 57 | return std::auto_ptr<UT_RGBColor>(rgb); | ^ -
xap_UnixDlg_Insert_Symbol.cpp:408:2: warning: 'gtk_widget_get_requisition' is deprecated: Use 'gtk_widget_get_preferred_width & gtk_widget_get_preferred_height' instead [-Wdeprecated-declarations] 408 | gtk_widget_get_requisition (m_windowMain, &diff); | ^ -
xap_UnixTableWidget.cpp:55:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 55 | register GMarshalFunc_VOID__UINT_UINT callback; | ^~~~~~~~ -
xap_UnixTableWidget.cpp:56:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 56 | register GCClosure *cc = (GCClosure*) closure; | ^~~~~~~~ -
xap_UnixTableWidget.cpp:57:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 57 | register gpointer data1, data2; | ^~~~~~~~ -
xap_UnixTableWidget.cpp:430:19: warning: unused parameter 'activate_time' [-Wunused-parameter] 430 | guint32 activate_time) | ^ -
xap_UnixTableWidget.cpp:701:5: warning: cast from 'void (*)(AbiTableClass *)' to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 701 | reinterpret_cast<GClassInitFunc>(abi_table_class_init), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xap_UnixTableWidget.cpp:706:5: warning: cast from 'void (*)(AbiTable *)' (aka 'void (*)(_AbiTable *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 706 | reinterpret_cast<GInstanceInitFunc>(abi_table_init), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xap_App.cpp:1703:10: warning: 'auto_ptr<UT_UUID>' is deprecated [-Wdeprecated-declarations] 1703 | std::auto_ptr<UT_UUID> uuido(getUUIDGenerator()->createUUID()); | ^ -
xap_EncodingManager.cpp:638:20: warning: unused variable 'cjk_word_fontname_mapping_data' [-Wunused-const-variable] 638 | static const _rmap cjk_word_fontname_mapping_data[]= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xap_Frame.cpp:795:18: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 795 | va_start(args, default_answer); | ^ -
abi-builtin-plugins.cpp:30:18: warning: variable 'pmi' set but not used [-Wunused-but-set-variable] 30 | XAP_ModuleInfo *pmi; | ^ -
./fb_Alignment.h:114:8: warning: private field 'm_iSpaceCountLeft' is not used [-Wunused-private-field] 114 | int m_iSpaceCountLeft; | ^ -
./fb_Alignment.h:115:8: warning: private field 'm_iSpaceCount' is not used [-Wunused-private-field] 115 | int m_iSpaceCount; | ^ -
fb_ColumnBreaker.cpp:239:12: warning: variable 'iColCons' set but not used [-Wunused-but-set-variable] 239 | UT_sint32 iColCons = 0; | ^ -
./fb_ColumnBreaker.h:53:24: warning: private field 'm_pCurrentBlock' is not used [-Wunused-private-field] 53 | fl_BlockLayout * m_pCurrentBlock; | ^ -
fb_LineBreaker.cpp:581:12: warning: variable 'width' set but not used [-Wunused-but-set-variable] 581 | UT_sint32 width = 0; | ^ -
fl_AutoLists.cpp:74:15: warning: variable 'j' set but not used [-Wunused-but-set-variable] 74 | UT_uint32 j = i; | ^ -
fl_BlockLayout.cpp:3291:12: warning: variable 'iXDiff' set but not used [-Wunused-but-set-variable] 3291 | UT_sint32 iXDiff = getLeftMargin(); | ^ -
fl_BlockLayout.cpp:6341:13: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 6341 | UT_uint32 offset = 0; | ^ -
fl_BlockLayout.cpp:10275:5: warning: comparison of array 'buf' not equal to a null pointer is always true [-Wtautological-pointer-compare]
-
fl_SectionLayout.cpp:4003:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 4003 | UT_uint32 iCount = m_vecPages.getItemCount(); | ^ -
./fl_TOCLayout.h:82:20: warning: private field 'm_iStartAt' is not used [-Wunused-private-field] 82 | UT_sint32 m_iStartAt; | ^ -
../../../../src/text/ptbl/xp/pd_DocumentRDF.h:155:40: warning: 'binary_function<PD_URI, PD_URI, bool>' is deprecated [-Wdeprecated-declarations] 155 | struct PD_URIListCompare : public std::binary_function<PD_URI, PD_URI, bool> { | ^ -
fp_RDFAnchorRun.cpp:96:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 96 | if(!m_bIsStart) | ^ -
fp_Column.cpp:274:12: warning: variable 'iCount' set but not used [-Wunused-but-set-variable] 274 | UT_sint32 iCount =0; | ^ -
fp_Column.cpp:324:12: warning: variable 'iCount' set but not used [-Wunused-but-set-variable] 324 | UT_sint32 iCount =0; | ^ -
fp_EmbedRun.cpp:213:12: warning: variable 'maxW' set but not used [-Wunused-but-set-variable] 213 | UT_sint32 maxW = p->getWidth() - UT_convertToLogicalUnits("0.1in"); | ^ -
fp_EmbedRun.cpp:214:12: warning: variable 'maxH' set but not used [-Wunused-but-set-variable] 214 | UT_sint32 maxH = p->getHeight() - UT_convertToLogicalUnits("0.1in"); | ^ -
fp_MathRun.cpp:174:12: warning: variable 'maxW' set but not used [-Wunused-but-set-variable] 174 | UT_sint32 maxW = p->getWidth() - UT_convertToLogicalUnits("0.1in"); | ^ -
fp_MathRun.cpp:175:12: warning: variable 'maxH' set but not used [-Wunused-but-set-variable] 175 | UT_sint32 maxH = p->getHeight() - UT_convertToLogicalUnits("0.1in"); | ^ -
./fp_PageSize.h:60:20: warning: definition of implicit copy constructor for 'fp_PageSize' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 60 | fp_PageSize& operator=(fp_PageSize& rhs); | ^ -
fp_PageSize.cpp:263:3: warning: variable 'a' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis] 263 | a++; | ^ -
../../../../src/af/util/xp/ut_misc.h:53:2: warning: definition of implicit copy assignment operator for 'UT_Rect' is deprecated because it has a user-provided copy constructor [-Wdeprecated-copy-with-user-provided-copy] 53 | UT_Rect(const UT_Rect &); | ^ -
fp_TableContainer.cpp:2222:12: warning: variable 'iBroke' set but not used [-Wunused-but-set-variable] 2222 | UT_sint32 iBroke = 0; | ^ -
fp_TableContainer.cpp:2939:6: warning: expression result unused [-Wunused-value] 2939 | static_cast<fp_TableContainer *>(pTab->VBreakAt(0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
fp_TableContainer.cpp:5412:12: warning: variable 'iCountCells' set but not used [-Wunused-but-set-variable] 5412 | UT_sint32 iCountCells = 0; | ^ -
fp_TOCContainer.cpp:791:14: warning: variable 'j' set but not used [-Wunused-but-set-variable] 791 | UT_sint32 j = 0; | ^ -
fv_InlineImage.cpp:1155:6: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1155 | GR_Painter painter(getGraphics()); | ^ -
fv_View_cmd.cpp:1519:11: warning: variable 'e' set but not used [-Wunused-but-set-variable] 1519 | UT_Error e = UT_OK; | ^ -
fv_View.cpp:2271:10: warning: variable 'bResult' set but not used [-Wunused-but-set-variable] 2271 | bool bResult = m_pDoc->deleteSpan(low, low + iLen,NULL,iRealDeleteCount); | ^ -
fv_View.cpp:6509:32: warning: taking the absolute value of unsigned type 'PT_DocPosition' (aka 'unsigned int') has no effect [-Wabsolute-value] 6509 | return static_cast<UT_uint32>(labs(m_iInsPoint - m_Selection.getSelectionAnchor())); | ^ -
fv_View.cpp:10469:10: warning: 'auto_ptr<UT_Rect>' is deprecated [-Wdeprecated-declarations]
-
fv_View.cpp:10505:9: warning: 'auto_ptr<UT_Rect>' is deprecated [-Wdeprecated-declarations]
-
../../../../src/text/ptbl/xp/pd_DocumentRDF.h:155:40: warning: 'binary_function<PD_URI, PD_URI, bool>' is deprecated [-Wdeprecated-declarations]
-
fv_View.cpp:165:17: warning: private field 'm_pGraphics' is not used [-Wunused-private-field] 165 | GR_Graphics * m_pGraphics; | ^ -
fv_ViewDoubleBuffering.cpp:57:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 57 | if(m_bSuspendDirectDrawing == true && m_bCallDrawOnlyAtTheEnd == false) | ^ -
fv_ViewDoubleBuffering.cpp:88:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 88 | if(!m_pView->unregisterDoubleBufferingObject(this)) | ^ -
gtktexthandle.cpp:509:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 509 | g_type_class_add_private (object_class, sizeof (FvTextHandlePrivate)); | ^ -
gtktexthandle.cpp:518:25: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" [-W#pragma-messages] 518 | handle->priv = priv = G_TYPE_INSTANCE_GET_PRIVATE (handle, | ^ -
./pd_DocumentRDF.h:155:40: warning: 'binary_function<PD_URI, PD_URI, bool>' is deprecated [-Wdeprecated-declarations] 155 | struct PD_URIListCompare : public std::binary_function<PD_URI, PD_URI, bool> { | ^ -
pd_DocumentRDF.cpp:1089:26: warning: 'const' qualifier on reference type 'self_reference' (aka 'PD_RDFModelFromStartEndPos::StatementIterator &') has no effect [-Wignored-reference-qualifiers] 1089 | bool operator==( const self_reference other ) | ^~~~~ -
pd_DocumentRDF.cpp:1102:26: warning: 'const' qualifier on reference type 'self_reference' (aka 'PD_RDFModelFromStartEndPos::StatementIterator &') has no effect [-Wignored-reference-qualifiers] 1102 | bool operator!=( const self_reference other ) | ^~~~~ -
pd_DocumentRDF.cpp:4690:31: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl] 4690 | const gchar* szName = s.toString().c_str(); | ^~~~~~~~~~~~ -
pd_DocumentRDF.cpp:4769:31: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl] 4769 | const gchar* szName = s.toString().c_str(); | ^~~~~~~~~~~~ -
pd_DocumentRDF.cpp:5286:27: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling-gsl] 5286 | const gchar* szName = s.toString().c_str(); | ^~~~~~~~~~~~ -
pf_Fragments.cpp:762:18: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 762 | PT_DocPosition pos = 0; | ^ -
pf_Fragments.cpp:764:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 764 | UT_sint32 count = 0; | ^ -
./po_Bookmark.h:63:21: warning: private field 'm_fragObject' is not used [-Wunused-private-field] 63 | pf_Frag_Object& m_fragObject; | ^ -
./po_Bookmark.h:64:21: warning: private field 'm_pPieceTable' is not used [-Wunused-private-field] 64 | pt_PieceTable * m_pPieceTable; | ^ -
./pp_Author.h:43:21: warning: private field 'm_pDoc' is not used [-Wunused-private-field] 43 | PD_Document * m_pDoc; | ^ -
ap_DocView.cpp:65:1: warning: cast from 'void (*)(GtkWidgetClass *)' (aka 'void (*)(_GtkWidgetClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 65 | GSF_CLASS(ApDocView, ap_DocView, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | ap_DocView_class_init, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 | GTK_TYPE_DRAWING_AREA) | ~~~~~~~~~~~~~~~~~~~~~~ -
ap_UnixApp.cpp:166:5: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] 166 | if(this == 0) | ^~~~ ~ -
../../../../src/af/xap/gtk/xap_UnixDlg_ColorChooser.h:32:6: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 32 | std::auto_ptr<UT_RGBColor> XAP_UnixDlg_RunColorChooser(GtkWindow* parent, | ^ -
ap_UnixDialog_Border_Shading.cpp:132:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 132 | std::auto_ptr<UT_RGBColor> color = | ^ -
ap_UnixDialog_Border_Shading.cpp:174:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 174 | std::auto_ptr<UT_RGBColor> color = | ^ -
../../../../src/text/fmt/xp/fp_PageSize.h:60:20: warning: definition of implicit copy constructor for 'fp_PageSize' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 60 | fp_PageSize& operator=(fp_PageSize& rhs); | ^ -
./ap_UnixDialog_FormatTOC.h:21:9: warning: 'AP_UNIXDIALOG_FORMATTOC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 21 | #ifndef AP_UNIXDIALOG_FORMATTOC_H | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
ap_UnixDialog_FormatFrame.cpp:153:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 153 | std::auto_ptr<UT_RGBColor> color = | ^ -
ap_UnixDialog_FormatFrame.cpp:182:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 182 | std::auto_ptr<UT_RGBColor> color = | ^ -
ap_UnixDialog_FormatTable.cpp:151:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 151 | std::auto_ptr<UT_RGBColor> color = | ^ -
ap_UnixDialog_FormatTable.cpp:179:7: warning: 'auto_ptr<UT_RGBColor>' is deprecated [-Wdeprecated-declarations] 179 | std::auto_ptr<UT_RGBColor> color = | ^ -
./ap_UnixDialog_FormatTOC.h:78:14: warning: private field 'm_iStartID' is not used [-Wunused-private-field] 78 | guint m_iStartID; | ^ -
./ap_UnixDialog_FormatTOC.h:79:14: warning: private field 'm_iIndentID' is not used [-Wunused-private-field] 79 | guint m_iIndentID; | ^ -
./ap_UnixDialog_InsertHyperlink.h:62:6: warning: private field 'ResponseId' is not used [-Wunused-private-field] 62 | } ResponseId ; | ^ -
ap_UnixDialog_Lists.cpp:235:75: warning: 'ptr_fun<int, int>' is deprecated [-Wdeprecated-declarations] 235 | static std::pointer_to_unary_function<int, gboolean> s_update_fun = std::ptr_fun(s_update); | ^ -
ap_UnixDialog_Lists.cpp:235:14: warning: 'pointer_to_unary_function<int, int>' is deprecated [-Wdeprecated-declarations] 235 | static std::pointer_to_unary_function<int, gboolean> s_update_fun = std::ptr_fun(s_update); | ^ -
./ap_UnixDialog_Lists.h:107:11: warning: private field 'm_bisCustomFrameHidden' is not used [-Wunused-private-field] 107 | bool m_bisCustomFrameHidden; | ^ -
./ap_UnixDialog_Lists.h:127:18: warning: private field 'm_oLevelSpin_adj' is not used [-Wunused-private-field] 127 | GtkAdjustment * m_oLevelSpin_adj; | ^ -
./ap_UnixDialog_Lists.h:149:7: warning: private field 'm_iFontOptionsID' is not used [-Wunused-private-field] 149 | gint m_iFontOptionsID; | ^ -
ap_UnixDialog_Options.cpp:159:66: warning: unused parameter 'csel' [-Wunused-parameter] 159 | void AP_UnixDialog_Options::s_color_changed ( GtkColorSelection *csel, | ^ -
ap_UnixDialog_PageSetup.cpp:591:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 591 | if (!getPageOrientation () == PORTRAIT) | ^ ~~ -
./ap_UnixDialog_PageSetup.h:90:8: warning: private field 'm_iOptionPageUnitsListID' is not used [-Wunused-private-field] 90 | guint m_iOptionPageUnitsListID; | ^ -
ap_UnixDialog_Stylist.cpp:371:21: warning: variable 'page' set but not used [-Wunused-but-set-variable] 371 | UT_sint32 row,col, page; | ^ -
ap_UnixDialog_Tab.cpp:198:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 198 | m_AlignmentMapping[i] = NULL; | ^ -
ap_UnixDialog_Tab.cpp:204:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 204 | m_LeaderMapping[i] = NULL; | ^ -
./ap_RDFEventGTK.h:32:15: warning: private field 'w_name' is not used [-Wunused-private-field] 32 | GtkEntry* w_name; | ^ -
./ap_RDFEventGTK.h:38:15: warning: private field 'w_uid' is not used [-Wunused-private-field] 38 | GtkEntry* w_uid; | ^ -
./ap_RDFLocationGTK.h:40:16: warning: private field 'w_map' is not used [-Wunused-private-field] 40 | GtkWidget* w_map; | ^ -
abiwidget.cpp:230:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 230 | register GMarshalFunc_VOID__INT_INT_INT callback; | ^~~~~~~~ -
abiwidget.cpp:231:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 231 | register GCClosure *cc = (GCClosure*) closure; | ^~~~~~~~ -
abiwidget.cpp:232:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 232 | register gpointer data1, data2; | ^~~~~~~~ -
abiwidget.cpp:1041:49: warning: unused parameter 'pTimer' [-Wunused-parameter] 1041 | static void s_LoadingCursorCallback(UT_Worker * pTimer ) | ^ -
abiwidget.cpp:2492:4: warning: cast from 'void (*)(AbiWidgetClass *)' (aka 'void (*)(_AbiWidgetClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2492 | (GClassInitFunc)abi_widget_class_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
abiwidget.cpp:2497:4: warning: cast from 'void (*)(AbiWidget *)' (aka 'void (*)(_AbiWidget *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 2497 | (GInstanceInitFunc)abi_widget_init, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./ap_Dialog_Border_Shading.h:72:35: warning: private field 'm_previewDrawer' is not used [-Wunused-private-field] 72 | AP_Border_Shading_preview_drawer m_previewDrawer; | ^ -
./ap_Dialog_FormatFrame.h:73:32: warning: private field 'm_previewDrawer' is not used [-Wunused-private-field] 73 | AP_FormatFrame_preview_drawer m_previewDrawer; | ^ -
./ap_Dialog_FormatTable.h:70:32: warning: private field 'm_previewDrawer' is not used [-Wunused-private-field] 70 | AP_FormatTable_preview_drawer m_previewDrawer; | ^ -
ap_Dialog_Styles.cpp:64:12: warning: unused variable 'i' [-Wunused-variable] 64 | UT_sint32 i; | ^ -
ie_impGraphic_GdkPixbuf.cpp:358:11: warning: 'gdk_pixbuf_new_from_xpm_data' is deprecated [-Wdeprecated-declarations] 358 | pixbuf = gdk_pixbuf_new_from_xpm_data(pszStr); | ^ -
./ie_impGraphic_GdkPixbuf.h:71:7: warning: private field 'm_bIsXPM' is not used [-Wunused-private-field] 71 | bool m_bIsXPM; | ^ -
ie_exp_HTML.cpp:136:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 136 | delete m_pNavigationHelper; | ^ -
./ie_exp_HTML_StyleTree.h:69:16: warning: private field 'm_style' is not used [-Wunused-private-field] 69 | PD_Style * m_style; | ^ -
ie_exp_HTML_Listener.cpp:868:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 868 | style += "font-weight:bold"; | ^ -
ie_exp_HTML_Listener.cpp:2468:10: warning: variable 'hasHeading' set but not used [-Wunused-but-set-variable] 2468 | bool hasHeading = true; // AbiWord's default | ^ -
./ie_exp_RTF_AttrProp.h:80:17: warning: 'binary_function<const char *, const char *, const char *>' is deprecated [-Wdeprecated-declarations] 80 | public std::binary_function< const gchar *, const gchar *, const gchar * > | ^ -
ie_exp_RTF.cpp:3568:7: warning: field 'm_pAutoNum' will be initialized after field 'm_AbiListID' [-Wreorder-ctor] 3568 | : m_pAutoNum(pAuto) | ^~~~~~~~~~~~~~~~~ | m_AbiListID(pAuto->getID()) 3569 | , m_AbiListID(pAuto->getID()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | m_pAutoNum(pAuto) -
ie_exp_RTF_listenerWriteDoc.cpp:1266:14: warning: variable 'iImageWidth' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1266 | else if (mimetype == "image/svg+xml") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ie_exp_RTF_listenerWriteDoc.cpp:1266:14: warning: variable 'iImageHeight' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1266 | else if (mimetype == "image/svg+xml") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ie_exp_RTF_listenerWriteDoc.cpp:5332:13: warning: variable 'iImageWidth' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 5332 | else if (mimetype == "image/svg+xml") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ie_exp_RTF_listenerWriteDoc.cpp:5332:13: warning: variable 'iImageHeight' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 5332 | else if (mimetype == "image/svg+xml") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./ie_exp_Text.h:159:10: warning: private field 'm_bToClipboard' is not used [-Wunused-private-field] 159 | bool m_bToClipboard; | ^ -
ie_imp_MsWord_97.cpp:1127:11: warning: 'gsf_msole_metadata_read' is deprecated: Use 'gsf_doc_meta_data_read_from_msole' instead [-Wdeprecated-declarations] 1127 | err = gsf_msole_metadata_read (stream, meta_data); | ^ -
ie_imp_MsWord_97.cpp:2064:15: warning: variable 'textOff' set but not used [-Wunused-but-set-variable] 2064 | UT_uint32 textOff = 0; | ^ -
ie_imp_MsWord_97.cpp:2775:7: warning: variable 'bInHdrFtr' set but not used [-Wunused-but-set-variable] 2775 | bool bInHdrFtr = false; | ^ -
ie_imp_MsWord_97.cpp:2780:7: warning: variable 'bInTextboxes' set but not used [-Wunused-but-set-variable] 2780 | bool bInTextboxes = false; | ^ -
ie_imp_MsWord_97.cpp:4365:4: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] 4365 | DELETEP(uncompr); | ^ -
ie_imp_MsWord_97.cpp:4508:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] 4508 | DELETEP(uncompr); | ^ -
./ie_imp_MsWord_97.h:276:19: warning: private field 'm_iOverrideIssued' is not used [-Wunused-private-field] 276 | UT_BidiCharType m_iOverrideIssued; | ^ -
ie_imp_RTF.cpp:354:36: warning: address of array 'this->m_pParaProps->m_pszFieldFont' will always evaluate to 'true' [-Wpointer-bool-conversion] 354 | if(m_pParaProps && m_pParaProps->m_pszFieldFont) | ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -
ie_imp_RTF.cpp:3483:6: warning: variable 'rtfFieldAttr' set but not used [-Wunused-but-set-variable] 3483 | int rtfFieldAttr = 0; | ^ -
ie_imp_RTF.cpp:9333:4: warning: (maybe not the right behaviour) [-W#warnings] 9333 | #warning(maybe not the right behaviour) | ^ -
ie_imp_RTF.cpp:3490:4: warning: unused typedef 'RTFFieldAttr' [-Wunused-local-typedef] 3490 | } RTFFieldAttr; | ^ -
ie_imp_RTFObjectsAndPicts.cpp:452:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 452 | if ((imageProps.sizeType == RTFProps_ImageProps::ipstNone)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ie_imp_RTFObjectsAndPicts.cpp:461:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 461 | if ((imageProps.sizeType == RTFProps_ImageProps::ipstNone)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ie_imp_RTFObjectsAndPicts.cpp:1397:4: warning: variable 'objectType' set but not used [-Wunused-but-set-variable] 1397 | } objectType = OBJ_TYPE_NONE; | ^ -
ie_imp_XHTML.cpp:768:6: warning: variable 'failLine' set but not used [-Wunused-but-set-variable] 768 | int failLine; | ^ -
ie_imp_XHTML.cpp:1580:6: warning: variable 'failLine' set but not used [-Wunused-but-set-variable] 1580 | int failLine = 0; | ^ -
ie_imp_XHTML.cpp:1907:6: warning: variable 'failLine' set but not used [-Wunused-but-set-variable] 1907 | int failLine = 0; | ^ -
./ie_imp_XHTML.h:119:14: warning: private field 'm_bFirstDiv' is not used [-Wunused-private-field] 119 | bool m_bFirstDiv; | ^ -
./ie_imp_XHTML.h:120:8: warning: private field 'm_bUseTidy' is not used [-Wunused-private-field] 120 | bool m_bUseTidy; | ^ -
ie_imp_XML.cpp:310:40: warning: variable 'addCount' set but not used [-Wunused-but-set-variable] 310 | static int addCount = 0; | ^ -
ie_mailmerge.cpp:764:7: warning: private field 'mLooping' is not used [-Wunused-private-field] 764 | bool mLooping; | ^ -
./ie_exp_DocRangeListener.h:86:21: warning: private field 'm_pDocRange' is not used [-Wunused-private-field] 86 | PD_DocumentRange * m_pDocRange; | ^ -
../src/wp/main/gtk/libabiword.cpp:59:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | static char *argv[] = {"libabiword", NULL}; | ^ -
./ODe_AbiDocListener.h:177:20: warning: definition of implicit copy constructor for 'StackCell' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 177 | StackCell& operator=(const StackCell& sc) { | ^ -
./ODe_Style_List.h:64:10: warning: private field 'm_bConsecutiveNumbering' is not used [-Wunused-private-field] 64 | bool m_bConsecutiveNumbering; | ^ -
./ODe_TOC_Listener.h:59:15: warning: private field 'm_iCurrentTOC' is not used [-Wunused-private-field] 59 | UT_sint32 m_iCurrentTOC; | ^ -
./ODi_ContentStream_ListenerState.h:67:16: warning: private field 'm_pGsfInfile' is not used [-Wunused-private-field] 67 | GsfInfile* m_pGsfInfile; | ^ -
./ODi_ContentStreamAnnotationMatcher_ListenerState.h:65:18: warning: private field 'm_pAbiDocument' is not used [-Wunused-private-field] 65 | PD_Document* m_pAbiDocument; | ^ -
./ODi_ContentStreamAnnotationMatcher_ListenerState.h:66:16: warning: private field 'm_pGsfInfile' is not used [-Wunused-private-field] 66 | GsfInfile* m_pGsfInfile; | ^ -
./ODi_ContentStreamAnnotationMatcher_ListenerState.h:67:24: warning: private field 'm_pStyles' is not used [-Wunused-private-field] 67 | ODi_Office_Styles* m_pStyles; | ^ -
./ODi_ContentStreamAnnotationMatcher_ListenerState.h:68:24: warning: private field 'm_rFontFaceDecls' is not used [-Wunused-private-field] 68 | ODi_FontFaceDecls& m_rFontFaceDecls; | ^ -
./ODi_ManifestStream_ListenerState.h:57:18: warning: private field 'm_pDocument' is not used [-Wunused-private-field] 57 | PD_Document* m_pDocument; | ^ -
./ODi_StreamListener.h:133:20: warning: definition of implicit copy constructor for 'StackCell' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 133 | StackCell& operator=(const StackCell& sc) { | ^ -
./ODi_Style_List.h:91:10: warning: private field 'm_bConsecutiveNumbering' is not used [-Wunused-private-field] 91 | bool m_bConsecutiveNumbering; | ^ -
ODi_Style_Style.cpp:977:10: warning: variable 'ok' set but not used [-Wunused-but-set-variable] 977 | bool ok; | ^ -
./ODi_StylesStream_ListenerState.h:67:16: warning: private field 'm_pGsfInfile' is not used [-Wunused-private-field] 67 | GsfInfile* m_pGsfInfile; | ^ -
ODi_TextContent_ListenerState.cpp:1336:14: warning: 'bind2nd<std::not_equal_to<char32_t>, char32_t>' is deprecated [-Wdeprecated-declarations] 1336 | std::bind2nd( std::not_equal_to<UT_UCS4Char>(), | ^ -
ie_imp_ClarisWorks.cpp:110:19: warning: unused variable 'PROPS_XML_ATTR_NAME' [-Wunused-const-variable] 110 | static const char PROPS_XML_ATTR_NAME[] = "props"; | ^~~~~~~~~~~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:113:19: warning: unused variable 'FONT_FAMILY' [-Wunused-const-variable] 113 | static const char FONT_FAMILY[] = "font-family:%s;"; | ^~~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:115:19: warning: unused variable 'FONT_STYLE' [-Wunused-const-variable] 115 | static const char FONT_STYLE[] = "font-style:%s;"; | ^~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:116:19: warning: unused variable 'FONT_STYLE_ITALIC' [-Wunused-const-variable] 116 | static const char FONT_STYLE_ITALIC[] = "italic"; | ^~~~~~~~~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:118:19: warning: unused variable 'FONT_WEIGHT' [-Wunused-const-variable] 118 | static const char FONT_WEIGHT[] = "font-weight:%s;"; | ^~~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:119:19: warning: unused variable 'FONT_WEIGHT_BOLD' [-Wunused-const-variable] 119 | static const char FONT_WEIGHT_BOLD[] = "bold"; | ^~~~~~~~~~~~~~~~ -
ie_imp_ClarisWorks.cpp:121:19: warning: unused variable 'FONT_SIZE' [-Wunused-const-variable] 121 | static const char FONT_SIZE[] = "font-size:%spt;"; | ^~~~~~~~~ -
../../../src/text/ptbl/xp/pd_DocumentRDF.h:155:40: warning: 'binary_function<PD_URI, PD_URI, bool>' is deprecated [-Wdeprecated-declarations] 155 | struct PD_URIListCompare : public std::binary_function<PD_URI, PD_URI, bool> { | ^ -
AbiCommand.cpp:769:26: warning: unused variable 'e' [-Wunused-variable] 769 | UT_Error e = loadRDFXML( m, rdfxml ); | ^ -
ie_imp_DocBook.cpp:2646:19: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare] 2646 | if(m_iTitleDepth > m_utvTitles.size()) | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ -
ie_imp_DocBook.cpp:2758:45: warning: comparison of integers of different signs: 'UT_sint32' (aka 'int') and 'size_type' (aka 'unsigned long') [-Wsign-compare] 2758 | for (UT_sint32 i = (m_iTitleDepth - 1); i < m_utvTitles.size(); i++) | ~ ^ ~~~~~~~~~~~~~~~~~~ -
AbiGOChart.cpp:215:3: warning: cast from 'void (*)(GogDataEditorClass *)' to 'GInterfaceInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 212 | GSF_CLASS_FULL (AbiDataEntry, abi_data_entry, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | NULL, NULL, NULL, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~ 214 | NULL, GTK_TYPE_ENTRY, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~ 215 | GSF_INTERFACE (abi_data_editor_init, GOG_TYPE_DATA_EDITOR)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
AbiGOChart.cpp:323:1: warning: cast from 'void (*)(GObjectClass *)' (aka 'void (*)(_GObjectClass *)') to 'GClassInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 323 | GSF_CLASS_FULL (AbiControlGUI, abi_control_gui, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | NULL, NULL, abi_control_gui_class_init, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | abi_control_gui_init, G_TYPE_OBJECT, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | GSF_INTERFACE (abi_go_plot_data_allocator_init, GOG_TYPE_DATA_ALLOCATOR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 327 | /*GSF_INTERFACE (abi_cmd_context_init, GO_CMD_CONTEXT_TYPE)*/) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
AbiGOChart.cpp:323:1: warning: cast from 'void (*)(GObject *)' (aka 'void (*)(_GObject *)') to 'GInstanceInitFunc' (aka 'void (*)(_GTypeInstance *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 323 | GSF_CLASS_FULL (AbiControlGUI, abi_control_gui, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | NULL, NULL, abi_control_gui_class_init, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | abi_control_gui_init, G_TYPE_OBJECT, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | GSF_INTERFACE (abi_go_plot_data_allocator_init, GOG_TYPE_DATA_ALLOCATOR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 327 | /*GSF_INTERFACE (abi_cmd_context_init, GO_CMD_CONTEXT_TYPE)*/) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
AbiGOChart.cpp:326:3: warning: cast from 'void (*)(GogDataAllocatorClass *)' to 'GInterfaceInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 323 | GSF_CLASS_FULL (AbiControlGUI, abi_control_gui, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 324 | NULL, NULL, abi_control_gui_class_init, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | abi_control_gui_init, G_TYPE_OBJECT, 0, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 326 | GSF_INTERFACE (abi_go_plot_data_allocator_init, GOG_TYPE_DATA_ALLOCATOR); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 327 | /*GSF_INTERFACE (abi_cmd_context_init, GO_CMD_CONTEXT_TYPE)*/) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
AbiGOffice.cpp:104:3: warning: cast from 'void (*)(GOCmdContextClass *)' to 'GInterfaceInitFunc' (aka 'void (*)(void *, void *)') converts to incompatible function type [-Wcast-function-type-mismatch] 101 | GSF_CLASS_FULL (AbiCmdContext, abi_cmd_context, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 102 | NULL, NULL, NULL, NULL, | ~~~~~~~~~~~~~~~~~~~~~~~ 103 | NULL, G_TYPE_OBJECT, 0, | ~~~~~~~~~~~~~~~~~~~~~~~ 104 | GSF_INTERFACE (abi_cmd_context_init, GO_TYPE_CMD_CONTEXT)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./LoadBindings.h:21:9: warning: 'PLUGIN_LOADBINDINGS_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 21 | #ifndef PLUGIN_LOADBINDINGS_H | ^~~~~~~~~~~~~~~~~~~~~ -
LoadBindings.cpp:471:11: warning: variable 'seen' set but not used [-Wunused-but-set-variable] 471 | size_t seen = 0; | ^ -
ie_imp_OpenWriter.cpp:382:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 382 | m_textDecoration += ";"; | ^ -
ie_imp_OpenWriter.cpp:982:14: warning: private field 'm_bOpenDocument' is not used [-Wunused-private-field] 982 | const bool m_bOpenDocument; | ^ -
./ie_exp_OpenWriter.h:106:24: warning: private field 'm_pie' is not used [-Wunused-private-field] 106 | IE_Exp_OpenWriter * m_pie; | ^ -
ie_imp_OPML.cpp:434:21: warning: comparison of integers of different signs: 'UT_sint32' (aka 'int') and 'size_type' (aka 'unsigned long') [-Wsign-compare] 434 | if(m_iOutlineDepth > m_utvLists.size()) { | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ -
AbiPaint.cpp:140:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 140 | std::string szProgramName; | ^ -
ie_exp_Passepartout.cpp:99:10: warning: private field 'm_bBreakExtra' is not used [-Wunused-private-field] 99 | bool m_bBreakExtra; | ^ -
./ie_exp_PalmDoc.h:79:14: warning: private field 'm_bufLen' is not used [-Wunused-private-field] 79 | UT_uint32 m_bufLen; | ^ -
./ie_exp_PalmDoc.h:80:21: warning: private field 'm_bufPosition' is not used [-Wunused-private-field] 80 | UT_uint32 m_bufPosition; | ^ -
ie_imp_StarOffice.cpp:496:22: warning: unused variable 'sdwSignature' [-Wunused-const-variable] 496 | static const UT_Byte sdwSignature[] = {0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1}; | ^~~~~~~~~~~~