add -wd308 compiler option to avoid compiler warning #308 being treated as an error
author: Kenneth Hoste (HPC-UGent)
--- kohonen/MD5.orig	2017-05-11 18:42:50.494520969 +0200
+++ kohonen/MD5	2017-05-11 18:43:02.299001000 +0200
@@ -41,7 +41,7 @@
 4074da8d1e8ba029d52de2a9ff24124b *man/unit.distances.Rd
 c7f0e4739945511e6fcd67289320eab1 *man/wines.Rd
 ad838f45c3a9435e7b2229b8cc6682ae *man/yeast.Rd
-74d73c2023015c6b008d9fdd11d60b14 *src/Makevars
+803f88be6a292da8d8ab21bdf420bda0 *src/Makevars
 fada3f440c7f59d360c9303e803b1460 *src/RcppExports.cpp
 0b0c395e4a39ef2e6b31d2459c449912 *src/batch-supersom.cpp
 478e89466560e680760d7781c81acbcc *src/distance-functions.cpp
--- kohonen/src/Makevars.orig	2017-05-11 18:42:07.494520926 +0200
+++ kohonen/src/Makevars	2017-05-11 18:42:34.436276000 +0200
@@ -1,3 +1,4 @@
-PKG_CFLAGS = $(SHLIB_OPENMP_CFLAGS)
-PKG_CXXFLAGS = $(SHLIB_OPENMP_CFLAGS)
-PKG_LIBS = $(SHLIB_OPENMP_CFLAGS)
+# disable Intel C++ compiler (icpc) warning/error #308, to avoid 'member "std::complex<double>::_M_value" is inaccessible'
+PKG_CFLAGS = $(SHLIB_OPENMP_CFLAGS) -wd308
+PKG_CXXFLAGS = $(SHLIB_OPENMP_CFLAGS) -wd308
+PKG_LIBS = $(SHLIB_OPENMP_CFLAGS) -wd308
