summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/contrib
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-13 18:23:53 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-13 18:23:53 +0000
commit73c09e537efdadbc9192f797f7f8089122150c0f (patch)
tree3e4cdcb325cf9fef85607925ea85d5fbb53a1a99 /TAO/TAO_IDL/contrib
parent31f839789439ee03ab6a62958f3d1bf22f4aa639 (diff)
downloadATCD-73c09e537efdadbc9192f797f7f8089122150c0f.tar.gz
ChangeLogTag: Fri Jun 13 18:23:04 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/contrib')
-rw-r--r--TAO/TAO_IDL/contrib/mcpp/eval.cpp2
-rw-r--r--TAO/TAO_IDL/contrib/mcpp/mcpp.mpc1
2 files changed, 2 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/contrib/mcpp/eval.cpp b/TAO/TAO_IDL/contrib/mcpp/eval.cpp
index e1019d44688..a5d2a05e538 100644
--- a/TAO/TAO_IDL/contrib/mcpp/eval.cpp
+++ b/TAO/TAO_IDL/contrib/mcpp/eval.cpp
@@ -1522,7 +1522,7 @@ static expr_t eval_unsigned(
case OP_EOE:
case OP_PLU: v1 = v1u; break;
case OP_NEG:
- v1 = -v1u;
+ v1 = static_cast<uexpr_t> (- (static_cast<expr_t> (v1u)));
if (v1u)
overflow( op_name, valpp, TRUE);
break;
diff --git a/TAO/TAO_IDL/contrib/mcpp/mcpp.mpc b/TAO/TAO_IDL/contrib/mcpp/mcpp.mpc
index cc6707f12a1..cb180143df4 100644
--- a/TAO/TAO_IDL/contrib/mcpp/mcpp.mpc
+++ b/TAO/TAO_IDL/contrib/mcpp/mcpp.mpc
@@ -22,6 +22,7 @@ project(tao_mcpp_exe) : aceexe, install, tao_output, crosscompile {
project(TAO_IDL_MCPP) : acelib, conv_lib, tao_output, crosscompile {
requires += mcpp
macros += MCPP_LIB
+ dynamicflags += MCPP_LIB_BUILD_DLL
Header_Files {
*.h