From e66fe3102cbdf363358b4cffd3ed927bda933b33 Mon Sep 17 00:00:00 2001 From: ismagom Date: Tue, 4 Mar 2014 19:33:06 +0000 Subject: [PATCH] Fixed compilation problem for old GCXX --- CMakeLists.txt | 2 +- graphics/lib/complexplot/plot_complex.cpp | 2 +- graphics/lib/scatterplot/plot_scatter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad7f6b782..89c5bb254 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ SET(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "") # Compiler specific setup ######################################################################## IF(CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-format-extra-args -Wno-reorder -Winline -Wno-unused-result -Wno-format -D_GNU_SOURCE") +# do something ENDIF(CMAKE_COMPILER_IS_GNUCXX) IF(CMAKE_COMPILER_IS_GNUCC) diff --git a/graphics/lib/complexplot/plot_complex.cpp b/graphics/lib/complexplot/plot_complex.cpp index 8fca481aa..0f6b07c86 100644 --- a/graphics/lib/complexplot/plot_complex.cpp +++ b/graphics/lib/complexplot/plot_complex.cpp @@ -30,7 +30,7 @@ #include "plot/plot_complex.h" #include "Complexplot.h" -#include +#include int plot_complex_init(plot_complex_t *h) { diff --git a/graphics/lib/scatterplot/plot_scatter.cpp b/graphics/lib/scatterplot/plot_scatter.cpp index 35624199f..b3d36986f 100644 --- a/graphics/lib/scatterplot/plot_scatter.cpp +++ b/graphics/lib/scatterplot/plot_scatter.cpp @@ -29,7 +29,7 @@ #include "plot/plot_scatter.h" #include "Scatterplot.h" -#include +#include