summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release_docs/INSTALL_codewarrior.txt32
-rw-r--r--test/testhdf5.c4
2 files changed, 26 insertions, 10 deletions
diff --git a/release_docs/INSTALL_codewarrior.txt b/release_docs/INSTALL_codewarrior.txt
index 7d9133c..6993170 100644
--- a/release_docs/INSTALL_codewarrior.txt
+++ b/release_docs/INSTALL_codewarrior.txt
@@ -12,10 +12,10 @@ The following instructions assume we will be using the path D:\hdf5 for installi
Pre conditions:
-------------------------------------------------------------------------
Both the ZLIB and SZIP libraries are needed to link with HDF5.
-The Code Warrior project file settings assumes ZLIB is intalled in D:\zlib\zlib.lib and SZIP is installed in
-D:\szip\codewarrior\szip.lib
-These precompiled libraries can be obtained from the HDF web site, please see hdf.ncsa.uiuc.edu for
-downloading instructions.
+The Code Warrior project file settings assumes ZLIB is intalled in D:\zlib\zlib.lib
+and SZIP is installed in D:\szip\codewarrior\szip.lib
+These precompiled libraries can be obtained from the HDF web site,
+please see hdf.ncsa.uiuc.edu for downloading instructions.
-------------------------------------------------------------------------
Setup
@@ -37,8 +37,28 @@ To build the HDF5 library with Code Warrior:
or, to redirect the output to a file called myfile.txt,
Hdf5test debug > myfile.txt
The test and tools files are generated in the same directory as
- the those compiled with the Microsoft Visual Studio compiler.
-5. Enjoy.
+ those compiled with the Microsoft Visual Studio compiler.
+
+
+---------------------------------------------------------------------------
+Known problems
+---------------------------------------------------------------------------
+
+The test "testhdf5" fails on a open file call. This is caused by a CodeWarrior v8.0
+bug in the "open" function
+
+Metrowerks provides a patch for this error
+
+1) Edit the file file_io.win32.c, located on <MY_INSTALL\MSL\MSL_C\MSL_Win32\Src\>
+
+2) Change the following symbol to 1 instead of 0
+
+#define _MSL_ALLOW_SHARED_WRITING 0
+/* Set this value to 1 for file opening with shared writing */
+
+3) Add this source code to your project and relink it with your application.
+ A source code in a project overrides the library source.
+
---------------------------------------------------------------------------
diff --git a/test/testhdf5.c b/test/testhdf5.c
index 175f711..1fd2f34 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -37,10 +37,6 @@
*/
-#if defined __MWERKS__
-#include <console.h>
-#endif
-
#include <stdarg.h>
#define MAXNUMOFTESTS 30