diff options
author | bala <balanatarajan@users.noreply.github.com> | 2000-03-05 21:35:37 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2000-03-05 21:35:37 +0000 |
commit | 91807a2f79561545adec38c9bd1ee9a3ce43a338 (patch) | |
tree | f9a665416f516a97080f159af09e9568ca92c997 /TAO/tests/IORManipulation/IORTest.cpp | |
parent | a8c76658479a84e3e768c291e9c201956d5f5fde (diff) | |
download | ATCD-91807a2f79561545adec38c9bd1ee9a3ce43a338.tar.gz |
ChangeLogTag: Sun Mar 5 15:34:36 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/IORManipulation/IORTest.cpp')
-rw-r--r-- | TAO/tests/IORManipulation/IORTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tests/IORManipulation/IORTest.cpp b/TAO/tests/IORManipulation/IORTest.cpp index e088a6218aa..010bc35bc97 100644 --- a/TAO/tests/IORManipulation/IORTest.cpp +++ b/TAO/tests/IORManipulation/IORTest.cpp @@ -32,7 +32,10 @@ ACE_RCSID(IORManipluation, IORTest, "$Id$") int main (int argc, char *argv[]) { - int Status = 0; + // The variable is declared volatile because, some compilers + // optimizes this the wrong way. A case is point is the CC compiler + // on IRIX. + volatile int Status = 0; ACE_DEBUG ((LM_DEBUG, "---------------------------------------------\n")); ACE_DEBUG ((LM_DEBUG, "Running the IORManipulation Tests.\n")); |