summaryrefslogtreecommitdiff
path: root/test cases/frameworks/25 hdf5/main.cpp
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-01-31 20:42:53 -0500
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-02-01 07:26:32 +0000
commit8821c0aadcc901f1a624e082a59a385ed6725d98 (patch)
tree3b7979fd7ef827b20d9c91b4f8faa1efc03919ec /test cases/frameworks/25 hdf5/main.cpp
parente1a83793ae986db44bc810c36a8ea8090d81fe3f (diff)
downloadmeson-8821c0aadcc901f1a624e082a59a385ed6725d98.tar.gz
better handle variable HDF5 setups, update Fortran compiler def
Diffstat (limited to 'test cases/frameworks/25 hdf5/main.cpp')
-rw-r--r--test cases/frameworks/25 hdf5/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test cases/frameworks/25 hdf5/main.cpp b/test cases/frameworks/25 hdf5/main.cpp
index 2baff3658..477e76b66 100644
--- a/test cases/frameworks/25 hdf5/main.cpp
+++ b/test cases/frameworks/25 hdf5/main.cpp
@@ -9,7 +9,7 @@ unsigned maj, min, rel;
ier = H5open();
if (ier) {
- std::cerr << "Unable to initialize HDF5: %d" << ier << std::endl;
+ std::cerr << "Unable to initialize HDF5: " << ier << std::endl;
return EXIT_FAILURE;
}
@@ -18,11 +18,11 @@ if (ier) {
std::cerr << "HDF5 did not initialize!" << std::endl;
return EXIT_FAILURE;
}
-printf("C++ HDF5 version %d.%d.%d\n", maj, min, rel);
+std::cout << "C++ HDF5 version " << maj << "." << min << "." << rel << std::endl;
ier = H5close();
if (ier) {
- std::cerr << "Unable to close HDF5: %d" << ier << std::endl;
+ std::cerr << "Unable to close HDF5: " << ier << std::endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;