https://bugs.kde.org/show_bug.cgi?id=386374

            Bug ID: 386374
           Summary: part 2: compiler warnings with LabPlot 2.4.0 in AUR
           Product: LabPlot2
           Version: 2.4.0
          Platform: Manjaro
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.se...@web.de
          Reporter: uwesto...@web.de
  Target Milestone: ---

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];
                      ^

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to