summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-01 15:14:27 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-01 15:14:27 +0000
commit16669a4f8148bbf9579578786a39ebaf02d46ef0 (patch)
treec3fb3e4b139273e24c9730316c9b9bfdb1beee05 /ace
parentb1c6ad1f99a5fda8eae9e7bccb2d1b62bc1f544f (diff)
downloadATCD-16669a4f8148bbf9579578786a39ebaf02d46ef0.tar.gz
added ACE_REQUIRES_FUNC_DEFINITIONS support
Diffstat (limited to 'ace')
-rw-r--r--ace/OS.h7
-rw-r--r--ace/README1
2 files changed, 8 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 81ed73314e3..ea2020771a2 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -324,6 +324,13 @@ private:
#define ACE_UNUSED_ARG(a) (a)
#endif /* ghs */
+#if defined (ACE_REQUIRES_FUNC_DEFINITIONS)
+ // Provide a null definition for the function. Not pleasant.
+# define ACE_UNIMPLEMENTED_FUNC(f) f {}
+#else
+# define ACE_UNIMPLEMENTED_FUNC(f) f;
+#endif /* ACE_REQUIRES_FUNC_DEFINITIONS */
+
// These hooks enable ACE to have all dynamic memory management
// automatically handled on a per-object basis.
diff --git a/ace/README b/ace/README
index 1db2a577967..d682a0e7bed 100644
--- a/ace/README
+++ b/ace/README
@@ -248,6 +248,7 @@ ACE_TEMPLATES_REQUIRE_PRAGMA Compiler's template mechanism must use a pragma Th
ACE_TEMPLATES_REQUIRE_SOURCE Compiler's template mechanim must see source code (i.e., .cpp files). This is used for GNU G++.
ACE_HAS_EXPLICIT_TEMPLATES_INSTANTIATION Compiler's template instantiation mechanism supports the use of explicit C++ specializations for all used templates. This is also used for GNU G++ if you don't use the "repo" patches.
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA Compiler's template instantiation mechanism supports the use of "#pragma instantiate". Edison Design Group compilers, e.g., SGI C++ and Green Hills 1.8.8 and later, support this.
+ACE_REQUIRES_FUNC_DEFINITIONS Compiler requires a definition for a "hidden" function, e.g., a private, unimplemented copy constructor or assignment operator. The SGI C++ compiler needs this, in template classes, with ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA.
ACE_USE_POLL Use the poll() event demultiplexor rather than select().
ACE_USES_ASM_SYMBOL_IN_DLSYM Platform uses assembly symbols instead of C symbols in dlsym()
ACE_WSOCK_VERSION A parameter list indicating the version of WinSock (e.g., "1, 1" is version 1.1).