diff options
author | Fred Hornsey <hornseyf@objectcomputing.com> | 2021-06-12 22:43:28 -0500 |
---|---|---|
committer | Fred Hornsey <hornseyf@objectcomputing.com> | 2021-06-12 22:43:28 -0500 |
commit | 56a61b91a637fbb0be576cbc3f7a173e0c63476a (patch) | |
tree | a9b1b870c839ecf1feefed10be48a09711320fb1 /TAO/TAO_IDL/be/be_helper.cpp | |
parent | a4c5b22c20a1f1298a23d3ab57571237284b1963 (diff) | |
download | ATCD-56a61b91a637fbb0be576cbc3f7a173e0c63476a.tar.gz |
Fix Issues with explicit_ints Test
- Add uint8 and int8 to ACE and TAO serialization
- Refactor parts of AST_Expression to also cover uint8 and int8
Diffstat (limited to 'TAO/TAO_IDL/be/be_helper.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_helper.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp index 218bc0ac534..9a8883e71e6 100644 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ b/TAO/TAO_IDL/be/be_helper.cpp @@ -533,13 +533,12 @@ TAO_OutStream::print (AST_Expression *expr) { ACE_CDR::LongLong value = ev->u.llval; /* - * It seem in C/C++ compilers the minus sign and the bare number are - * parsed separately for negative integer literals. This can cause - * compilers to complain when using the minimum value of a signed integer - * because the number without the minus sign is 1 past the max signed - * value. + * It seems that in C/C++ the minus sign and the bare number are parsed + * separately for negative integer literals. This can cause compilers + * to complain when using the minimum value of a signed integer because + * the number without the minus sign is 1 past the max signed value. * - * https://stackoverflow.com/questions/65007935/integer-constant-is-so-large-that-it-is-unsigned-compiler-warning-rational + * https://stackoverflow.com/questions/65007935 * * Apparently the workaround is to write it as `VALUE_PLUS_ONE - 1`. */ |