| Summary: | part 2: compiler warnings with LabPlot 2.4.0 in AUR | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | uwestoehr <uwestoehr> |
| Component: | general | Assignee: | Alexander Semke <alexander.semke> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.4.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | 9ccb5a9dd12b884eed1a4913f5df23fa972f0ab1 | Version Fixed/Implemented In: | 2.5 |
| Sentry Crash Report: | |||
Grabbing LabPlot from AUR (Arch Linux) the compilation issues some warnings that might be fixable. Here are the next ones: 48%] Building CXX object src/CMakeFiles/labplot2.dir/backend/datasources/filters/FITSFilter.cpp.o /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp: In member function ‘void FITSFilterPrivate::writeCHDU(const QString&, AbstractDataSource*)’: /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:722:29: warning: variable length array ‘columnNames’ is used [-Wvla] char* columnNames[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:723:23: warning: variable length array ‘tform’ is used [-Wvla] char* tform[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:724:23: warning: variable length array ‘tunit’ is used [-Wvla] char* tunit[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:843:29: warning: variable length array ‘columnNames’ is used [-Wvla] char* columnNames[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:844:23: warning: variable length array ‘tform’ is used [-Wvla] char* tform[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:845:23: warning: variable length array ‘tunit’ is used [-Wvla] char* tunit[tfields]; ^ /tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/datasources/filters/FITSFilter.cpp:944:22: warning: variable length array ‘column’ is used [-Wvla] char* column[nrows]; ^