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.
30 lines
1.1 KiB
30 lines
1.1 KiB
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; |
|
|
|
/* Flag for Direct I/O */ |
|
+#ifdef O_DIRECT |
|
o_flags |= O_DIRECT; |
|
+#endif |
|
|
|
/* Open the file */ |
|
if ((fd = HDopen(name, o_flags, H5_POSIX_CREATE_MODE_RW))<0)
|
|
|