Try removing these [1] options. I think we can remove those and let
the build system set the appropriate debug flags.

Regards,
Cristian

[1] 
https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/master/entry/CMakeLists.txt#L245

2014-07-22 8:19 GMT+03:00 Marko Käning <mk-li...@email.de>:
> Hi Cristian,
>
> now that kdepimlibs can be removed as a necessary dependency I end up in a 
> problem with KDChart:
> ---
> [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] [ 12%] Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o
> Building CXX object 
> libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCartesianDiagram.cpp.o]
>  Error 1
> make[2]: *** Waiting for unfinished jobs....
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaBase.cpp.o] 
> Error 1
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAxis.cpp.o] Error 1
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractArea.cpp.o] Error 1
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractAreaWidget.cpp.o] 
> Error 1
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/ChartGraphicsItem.cpp.o] Error 1
> clang: error: unknown argument: '-fno-reorder-blocks' 
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a warning) in 
> the future
> make[2]: *** 
> [libkdchart/src/CMakeFiles/kmm_kdchart.dir/KDChartAbstractCoordinatePlane.cpp.o]
>  Error 1
> make[1]: *** [libkdchart/src/CMakeFiles/kmm_kdchart.dir/all] Error 2
> make: *** [all] Error 2
> ---
>
> Any idea what can be done about this?
>
> Greets,
> Marko
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to