summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/test_position_independent_malloc.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-01 21:13:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-01 21:13:14 +0000
commit406eefe8aae236b57eaea69ffe2ed8c9fc8c6a51 (patch)
tree9adee2333c0bb6b1b6fa27abe510bb8618ddbebf /examples/Shared_Malloc/test_position_independent_malloc.cpp
parent96dcc3e6265c5114c7085a4997d7707cf5fc4f5e (diff)
downloadATCD-406eefe8aae236b57eaea69ffe2ed8c9fc8c6a51.tar.gz
ChangeLogTag:Sun Aug 1 15:58:39 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'examples/Shared_Malloc/test_position_independent_malloc.cpp')
-rw-r--r--examples/Shared_Malloc/test_position_independent_malloc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Shared_Malloc/test_position_independent_malloc.cpp b/examples/Shared_Malloc/test_position_independent_malloc.cpp
index d291ee15afe..7ea178b6488 100644
--- a/examples/Shared_Malloc/test_position_independent_malloc.cpp
+++ b/examples/Shared_Malloc/test_position_independent_malloc.cpp
@@ -82,6 +82,9 @@ initialize (MALLOC *allocator)
long longCont1 = *lt->bpl_;
long longCont3 = lt->bpl_[3];
+ ACE_UNUSED_ARG (longCont1);
+ ACE_UNUSED_ARG (longCont3);
+
// Test in local memory using long (array/pointer)
ACE_NEW_RETURN (ptr,
long[5],
@@ -177,10 +180,8 @@ main (int argc, char *argv[])
template class ACE_Based_Pointer<Dummy_Data>;
template class ACE_Based_Pointer_Basic<Dummy_Data>;
template class ACE_Based_Pointer_Basic<long>;
-template class ACE_Based_Pointer<long>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Based_Pointer<Dummy_Data>
#pragma instantiate ACE_Based_Pointer_Basic<Dummy_Data>
#pragma instantiate ACE_Based_Pointer_Basic<long>
-#pragma instantiate ACE_Based_Pointer<long>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */