diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2000-12-12 04:40:09 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2000-12-12 04:40:09 (GMT) |
commit | 84fadb9f74741dc53a07a8780d6d1f03c728e213 (patch) | |
tree | 572178cd402f07c6cf70eeff733fe97895683038 /c++/src/H5FloatType.h | |
parent | 3dcc29ec41d6dad568ac15cfebbbfe163f314a5a (diff) | |
download | hdf5-84fadb9f74741dc53a07a8780d6d1f03c728e213.zip hdf5-84fadb9f74741dc53a07a8780d6d1f03c728e213.tar.gz hdf5-84fadb9f74741dc53a07a8780d6d1f03c728e213.tar.bz2 |
[svn-r3114] Purpose: Fix
Description:
Dec CC compiler doesn't support some new c++ features.
Some typos caused compilation erros on Dec Alpha.
Solution:
- Added macro BOOL_NOTDEFINED to define bool type on Dec
Alpha (gondolin) since its compiler doesn't support bool.
- Added macro NO_STATIC_CAST to prevent the use of the new
c++ feature static_cast since Dec CC compiler doesn't support.
- Added const to parameters of some functions to match the
functions' declaration and definition. Typos errors and
Dec CC complained.
Platform:
Solaris (arabica). Also tried to build on Dec Alpha but still
not linked due to some missing compiler flags; its compilation
went fine though.
Diffstat (limited to 'c++/src/H5FloatType.h')
-rw-r--r-- | c++/src/H5FloatType.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5FloatType.h b/c++/src/H5FloatType.h index cc9efec..865d384 100644 --- a/c++/src/H5FloatType.h +++ b/c++/src/H5FloatType.h @@ -11,7 +11,7 @@ class FloatType : public AtomType { FloatType(); // Creates a floating-point datatype using an existing id - FloatType( hid_t existing_id ); + FloatType( const hid_t existing_id ); // Creates a floating-point type using a predefined type FloatType( const PredType& pred_type ); |