Fixed compilation problem for old GCXX

master
ismagom 11 years ago
parent 10c6cfef12
commit e66fe3102c

@ -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)

@ -30,7 +30,7 @@
#include "plot/plot_complex.h"
#include "Complexplot.h"
#include <complex.h>
#include <complex>
int plot_complex_init(plot_complex_t *h) {

@ -29,7 +29,7 @@
#include "plot/plot_scatter.h"
#include "Scatterplot.h"
#include <complex.h>
#include <complex>

Loading…
Cancel
Save