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

            Bug ID: 386372
           Summary: 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: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Grabbing LabPlot from AUR (Arch Linux) the compilaton issues some warnings that
might be fixable. here are the first 4 of them:

 61%] Building CXX object
src/CMakeFiles/labplot2.dir/backend/worksheet/plots/cartesian/XYCurve.cpp.o
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYCurve.cpp:
In member function ‘void XYCurvePrivate::updateLines()’:
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYCurve.cpp:1035:17:
warning: variable length array ‘x’ is used [-Wvla]
   double x[count],  y[count];
                 ^
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYCurve.cpp:1035:28:
warning: variable length array ‘y’ is used [-Wvla]
   double x[count],  y[count];
                            ^

[ 63%] Building CXX object
src/CMakeFiles/labplot2.dir/backend/worksheet/plots/cartesian/XYFitCurve.cpp.o
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYFitCurve.cpp:
In function ‘int func_df(const gsl_vector*, void*, gsl_matrix*)’:
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYFitCurve.cpp:404:19:
warning: variable length array ‘a’ is used [-Wvla]
    double a[degree];
                   ^
/tmp/pamac-build-usti/labplot-kf5/src/labplot-2.4.0-kf5/src/backend/worksheet/plots/cartesian/XYFitCurve.cpp:405:19:
warning: variable length array ‘b’ is used [-Wvla]
    double b[degree];
                   ^

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

Reply via email to