Compiler warnings

André Wöbbeking Woebbeking at kde.org
Wed Jan 7 15:42:26 GMT 2015


Hi,

compiling Calligra master with Clang I get some interesting warnings that should be fixed:

warning: logical not is only applied to the left hand side of this comparison

calligra/krita/plugins/formats/psd/psd_image_data.cpp:310
calligra/krita/plugins/formats/psd/psd_layer_record.cpp:718
calligra/krita/plugins/formats/psd/psd_resource_block.cpp:83
calligra/krita/plugins/formats/psd/psd_resource_block.cpp:289
calligra/krita/plugins/formats/psd/psd_resource_block.cpp:303
calligra/sheets/dialogs/pivotmain.cpp:738
calligra/sheets/dialogs/pivotmain.cpp:757

warning: ignoring return value of function declared with warn_unused_result attribute

calligra/3rdparty/kdchart/src/KDChartPieDiagram.cpp:583
calligra/filters/sheets/applixspread/applixspreadimport.cc:879
calligra/filters/sheets/applixspread/applixspreadimport.cc:896
calligra/filters/sheets/xlsx/XlsxXmlChartReader.cpp:3408
calligra/kexi/formeditor/container.cpp:136
calligra/krita/image/krita_utils.cpp:131
calligra/krita/image/tests/kis_cage_transform_worker_test.cpp:99
calligra/krita/ui/flake/kis_shape_layer_canvas.cpp:118
calligra/sheets/functions/financial.cpp:1110


Cheers,
André


P.S.: I'm not subscribed to the list, so please CC me.



More information about the calligra-devel mailing list