diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-10-20 20:46:07 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2003-10-20 20:46:07 (GMT) |
commit | c5888ae35b15c9a7d2a7e1e49290a3bbeb76a8da (patch) | |
tree | 96be95aac89a6140eac9a0fbd87046a4a754c600 /release_docs | |
parent | 1b3954383f9a5590f12779178605216532bb515c (diff) | |
download | hdf5-c5888ae35b15c9a7d2a7e1e49290a3bbeb76a8da.zip hdf5-c5888ae35b15c9a7d2a7e1e49290a3bbeb76a8da.tar.gz hdf5-c5888ae35b15c9a7d2a7e1e49290a3bbeb76a8da.tar.bz2 |
[svn-r7677] Purpose:
bug fix, update documentation
Description:
version 8 of Code Warrior has a bug on the open file function
that causes one of our tests to fail
documented this in the install instructions
removed a CW specific header file include , that was left from version 6
from the file testhdf5.c
Platforms tested:
Code Warrior
linux
Misc. update:
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/INSTALL_codewarrior.txt | 32 |
1 files changed, 26 insertions, 6 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. + --------------------------------------------------------------------------- |