Bug 386375 - part 3: compiler warnings with LabPlot 2.4.0 in AUR
Summary: part 3: compiler warnings with LabPlot 2.4.0 in AUR
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 01:59 UTC by uwestoehr
Modified: 2017-10-31 08:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 2.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uwestoehr 2017-10-31 01:59:31 UTC
Grabbing LabPlot from AUR (Arch Linux) the compilation issues some warnings that might be fixable. Here are the last ones:

[ 55%] Building CXX object src/CMakeFiles/labplot2.dir/backend/spreadsheet/SpreadsheetModel.cpp.o
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/spreadsheet/SpreadsheetModel.cpp: In member function ‘virtual QVariant SpreadsheetModel::data(const QModelIndex&, int) const’:
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/spreadsheet/SpreadsheetModel.cpp:130:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if(!col_ptr->isValid(index.row()))
    ^~
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/spreadsheet/SpreadsheetModel.cpp:133:3: note: here
   case MaskingRole:
   ^~~~