summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/idl_defines.h
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:56:11 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:56:11 +0000
commit324cf665b36c9f82787ae8d695156ce68cc3c574 (patch)
tree74a12bd1ae5e1ee83614a707813353dc6c864663 /TAO/TAO_IDL/include/idl_defines.h
parent8a194ee0fd36b83b89e4fdaf85edf120999c5538 (diff)
downloadATCD-324cf665b36c9f82787ae8d695156ce68cc3c574.tar.gz
ChangeLogTag: Mon Nov 5 13:53:21 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/TAO_IDL/include/idl_defines.h')
-rw-r--r--TAO/TAO_IDL/include/idl_defines.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/include/idl_defines.h b/TAO/TAO_IDL/include/idl_defines.h
index db7a7c6154d..17b2bc4d71e 100644
--- a/TAO/TAO_IDL/include/idl_defines.h
+++ b/TAO/TAO_IDL/include/idl_defines.h
@@ -74,11 +74,14 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
// This cannot be an enum since more than one value may be active at
// a given time, hence bitflags are #define'd instead
-#define IDL_CF_VERSION (1 << 0)
-#define IDL_CF_DUMP_AST (1 << 1)
-#define IDL_CF_ONLY_PREPROC (1 << 2)
-#define IDL_CF_ONLY_USAGE (1 << 3)
-#define IDL_CF_INFORMATIVE (1 << 4)
-#define IDL_CF_NOWARNINGS (1 << 5)
+// HP-UX 64-bit warns that the result of '<<' is widened from an int to long.
+// They are assumed to be of type long within the tao_idl and IFR code.
+
+#define IDL_CF_VERSION (long)(1 << 0)
+#define IDL_CF_DUMP_AST (long)(1 << 1)
+#define IDL_CF_ONLY_PREPROC (long)(1 << 2)
+#define IDL_CF_ONLY_USAGE (long)(1 << 3)
+#define IDL_CF_INFORMATIVE (long)(1 << 4)
+#define IDL_CF_NOWARNINGS (long)(1 << 5)
#endif // _IDL_DEFINES_IDL_DEFINES_HH