summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/make_err12
-rw-r--r--release_docs/RELEASE.txt6
2 files changed, 16 insertions, 2 deletions
diff --git a/bin/make_err b/bin/make_err
index 4b1f474..1b39d53fb 100755
--- a/bin/make_err
+++ b/bin/make_err
@@ -175,6 +175,12 @@ sub create_public ($) {
print_warning(*HEADER);
print_startprotect(*HEADER, $file);
+ # Begin extern C block
+ print HEADER "\n";
+ print HEADER "#ifdef __cplusplus\n";
+ print HEADER "extern \"C\" {\n";
+ print HEADER "#endif\n";
+
# Iterate over all the major errors
print HEADER "\n/*********************/\n";
print HEADER "/* Major error codes */\n";
@@ -202,6 +208,12 @@ sub create_public ($) {
}
}
+ # End extern C block
+ print HEADER "\n";
+ print HEADER "#ifdef __cplusplus\n";
+ print HEADER "}\n";
+ print HEADER "#endif\n";
+
print_endprotect(*HEADER, $file);
# Close header file
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 40c9644..afab87c 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -99,7 +99,7 @@ Support for New Platforms, Languages, and Compilers
-Bug Fixes since HDF5-1.8.17
+Bug Fixes since HDF5-1.8.18
===========================
Configuration
@@ -109,7 +109,9 @@ Bug Fixes since HDF5-1.8.17
Library
-------
- - None
+ - Missing #ifdef __cplusplus macros were added to the generated H5Epubgen.h file.
+
+ (HDFFV-9638, DER, 4/25/2017)
Parallel Library