You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.7 KiB

Index: config/gnu-cxxflags
--- config/gnu-cxxflags.orig 2018-01-25 20:11:38.120982000 +0100
+++ config/gnu-cxxflags 2018-01-25 20:12:18.638110000 +0100
@@ -92,10 +92,10 @@
esac
# General (copied from H5_CFLAGS)
- H5_CXXFLAGS="$H5_CXXFLAGS $arch -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wredundant-decls -Winline"
+ H5_CXXFLAGS="$H5_CXXFLAGS $arch"
# C++-specific
- H5_CXXFLAGS="$H5_CXXFLAGS -Wsign-promo -Woverloaded-virtual -Wold-style-cast -Weffc++ -Wreorder -Wnon-virtual-dtor -Wctor-dtor-privacy -Wabi"
+ H5_CXXFLAGS="$H5_CXXFLAGS"
# Production
# NDEBUG is handled explicitly by the configure script
Index: config/gnu-flags
--- config/gnu-flags.orig 2018-01-25 20:11:38.121445000 +0100
+++ config/gnu-flags 2018-01-25 20:12:44.320954000 +0100
@@ -92,7 +92,7 @@
esac
# General
- H5_CFLAGS="$H5_CFLAGS $arch -std=c99 -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
+ H5_CFLAGS="$H5_CFLAGS $arch -std=c99"
# Production
# NDEBUG is handled explicitly by the configure script
Index: java/test/h5ex_g_iterate
Index: src/H5FDdirect.c
--- src/H5FDdirect.c.orig 2017-04-25 23:45:02.000000000 +0200
+++ src/H5FDdirect.c 2018-01-25 20:11:38.121844000 +0100
@@ -484,7 +484,9 @@
if (H5F_ACC_EXCL & flags) o_flags |= O_EXCL;
/* Flag for Direct I/O */
+#ifdef O_DIRECT
o_flags |= O_DIRECT;
+#endif
/* Open the file */
if ((fd=HDopen(name, o_flags, 0666))<0)