diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-07 20:09:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-02-07 20:09:32 (GMT) |
commit | d08dacbecb5b01aed3d969dc4b3801595c06bf03 (patch) | |
tree | c678fc075437bf95d996ed9944a416f0346c0cb8 /tools | |
parent | 3bf8c9688877f917252153b132b73c6a9ad9115e (diff) | |
download | hdf5-d08dacbecb5b01aed3d969dc4b3801595c06bf03.zip hdf5-d08dacbecb5b01aed3d969dc4b3801595c06bf03.tar.gz hdf5-d08dacbecb5b01aed3d969dc4b3801595c06bf03.tar.bz2 |
[svn-r8163] Purpose:
Bug fix
Description:
Add ifdef around most of this file, to protect it from the Intel 7.1 C
compiler which seems to have bugs in its -MG flag for creating dependency
information.
Platforms tested:
Linux IA64 (titan)
too obscure to require testing on other platforms
Diffstat (limited to 'tools')
-rw-r--r-- | tools/misc/pdb2hdf.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/misc/pdb2hdf.c b/tools/misc/pdb2hdf.c index e10d406..c6a8951 100644 --- a/tools/misc/pdb2hdf.c +++ b/tools/misc/pdb2hdf.c @@ -25,6 +25,17 @@ #include <string.h> #include "hdf5.h" + +/* Strictly speaking, the "ifdef H5_HAVE_PDB_H" is unnecessary, since this + * file won't be compiled unless PDB is available (see the Makefile.in for + * this directory, as well as the PDB detection in the main configure.in). + * However, the Intel C compiler, v7.1, seems to have problems generating + * correct dependencies with the -MG flag when include files are not found + * and having this ifdef here removes the PDB headers from its consideration. + * QAK - 2004/02/07 + */ +#ifdef H5_HAVE_PDB_H + #include "pdb.h" #include "score.h" @@ -513,3 +524,4 @@ main(int argc, char *argv[]) } return 0; } +#endif /* H5_HAVE_PDB_H */ |