summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 12:42:03 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-30 12:42:03 +0000
commitea45888d339ccf946abde5b9811c5153c104638b (patch)
treeaf7daf632971e1d6ff61f8f50c687b74f6a79368
parent27182aa472eaadfb105b0183f1f14278dfd75cfb (diff)
downloadATCD-ea45888d339ccf946abde5b9811c5153c104638b.tar.gz
ChangeLogTag: Mon Aug 30 07:38:11 1999 David L. Levine <levine@cs.wustl.edu>
-rw-r--r--ChangeLog-99b7
-rw-r--r--examples/Reactor/Misc/test_event_handler_t.cpp5
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index 23ae87d458d..ed63aa9a8ac 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,8 +1,9 @@
Mon Aug 30 07:38:11 1999 David L. Levine <levine@cs.wustl.edu>
- * tests/Message_Block_Test.cpp: use the explicit template
- instantiations even with ACE_HAS_GNU_REPO. g++ 2.91.66
- misses some of them with -frepo.
+ * tests/Message_Block_Test.cpp,
+ examples/Reactor/Misc/test_event_handler_t.cpp:
+ use the explicit template instantiations even with
+ ACE_HAS_GNU_REPO. g++ 2.91.66 misses some of them with -frepo.
Sun Aug 29 22:57:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
diff --git a/examples/Reactor/Misc/test_event_handler_t.cpp b/examples/Reactor/Misc/test_event_handler_t.cpp
index 610be07a253..a1e0e1bc248 100644
--- a/examples/Reactor/Misc/test_event_handler_t.cpp
+++ b/examples/Reactor/Misc/test_event_handler_t.cpp
@@ -36,7 +36,10 @@ main (int, char *[])
return 0;
}
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ // The explicit instantiation is necessary with g++ 2.91.66 with
+ // -frepo, because it misses it.
template class ACE_Event_Handler_T<ACE_Test_Sig_Handler>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#pragma instantiate ACE_Event_Handler_T<ACE_Test_Sig_Handler>