|
|
|
@ -1,25 +1,9 @@
|
|
|
|
|
Index: config/gnu-cxxflags
|
|
|
|
|
--- config/gnu-cxxflags.orig 2020-02-29 00:29:58.000000000 +0100
|
|
|
|
|
+++ config/gnu-cxxflags 2020-03-04 08:06:01.249138000 +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: java/test/h5ex_g_iterate
|
|
|
|
|
Index: src/H5FDdirect.c
|
|
|
|
|
--- src/H5FDdirect.c.orig 2020-02-29 00:29:58.000000000 +0100
|
|
|
|
|
+++ src/H5FDdirect.c 2020-03-04 08:06:01.249660000 +0100
|
|
|
|
|
@@ -482,7 +482,9 @@
|
|
|
|
|
if (H5F_ACC_EXCL & flags) o_flags |= O_EXCL;
|
|
|
|
|
--- src/H5FDdirect.c.orig 2021-07-01 23:26:41.000000000 +0200
|
|
|
|
|
+++ src/H5FDdirect.c 2021-07-09 21:32:42.818403000 +0200
|
|
|
|
|
@@ -479,7 +479,9 @@
|
|
|
|
|
o_flags |= O_EXCL;
|
|
|
|
|
|
|
|
|
|
/* Flag for Direct I/O */
|
|
|
|
|
+#ifdef O_DIRECT
|
|
|
|
@ -27,4 +11,4 @@ Index: src/H5FDdirect.c
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
/* Open the file */
|
|
|
|
|
if ((fd = HDopen(name, o_flags, H5_POSIX_CREATE_MODE_RW))<0)
|
|
|
|
|
if ((fd = HDopen(name, o_flags, H5_POSIX_CREATE_MODE_RW)) < 0)
|
|
|
|
|