summaryrefslogtreecommitdiff
path: root/ACE/ace/config-macros.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-09 09:07:49 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-09 09:07:49 +0000
commit93c2d405001d7bd343e608fe14edb4e7d3dc6f66 (patch)
treeffae685fc795dd3ede75e10cbde6f167da050715 /ACE/ace/config-macros.h
parent45eefc686b90b6fd44a9505510de3329f122a1f2 (diff)
downloadATCD-93c2d405001d7bd343e608fe14edb4e7d3dc6f66.tar.gz
Thu Sep 9 09:01:10 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/ACE.cpp: * ace/ACE_export.h: * ace/ETCL/ETCL_y.cpp: * ace/INET_Addr.cpp: * ace/Log_Msg.cpp: * ace/OS.inl: * ace/OS_NS_Thread.h: * ace/OS_NS_Thread.inl: * ace/OS_NS_Thread.cpp: * ace/OS_NS_ctype.cpp: * ace/OS_NS_netdb.inl: * ace/OS_NS_pwd.inl: * ace/OS_NS_stdlib.inl: * ace/OS_NS_time.inl: * ace/OS_NS_time.cpp: * ace/POSIX_CB_Proactor.cpp: * ace/POSIX_Proactor.cpp: * ace/config-cxx-common.h: * ace/config-doxygen.h: * ace/config-integritySCA.h: * ace/config-lynxos.h: * ace/config-macros.h: * ace/config-openvms.h: * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem-nsk-mips-v3.h: * ace/config-vxworks6.4.h: * ace/config-win32-common.h: * ace/os_include/os_pthread.h: * ace/os_include/os_pwd.h: * ace/os_include/os_signal.h: * ace/os_include/os_stdlib.h: * ace/os_include/os_time.h: * ace/os_include/sys/os_types.h: Removed Tru64, Irix, Unixware, and SCO support * debian/debian.rules: Improved * examples/QOS/Change_Receiver_FlowSpec/Receiver_QoS_Event_Handler.h: * examples/QOS/Change_Receiver_FlowSpec/Sender_QoS_Event_Handler.h: * examples/QOS/Change_Sender_TSpec/Receiver_QoS_Event_Handler.h: * examples/QOS/Change_Sender_TSpec/Sender_QoS_Event_Handler.h: * examples/QOS/Simple/Receiver_QoS_Event_Handler.h: * examples/QOS/Simple/Sender_QoS_Event_Handler.h: Zapped ACE_RCSID * ace/config-irix6.5.x-sgic++.h: * ace/config-irix6.x-common.h: * ace/config-irix6.x-g++.h: * ace/config-irix6.x-sgic++.h: * ace/config-sco-5.0.0-nothread.h: * ace/config-sco-5.0.0.h: * ace/config-unixware-7.1.0.h: * ace/config-unixware-7.1.0.udk.h: * include/makeinclude/platform_irix6.x_common.GNU: * include/makeinclude/platform_irix6.x_g++.GNU: * include/makeinclude/platform_irix6.x_sgic++.GNU: * include/makeinclude/platform_tru64_cxx.GNU: * include/makeinclude/platform_tru64_g++.GNU: * include/makeinclude/platform_tru64_post.GNU: * include/makeinclude/platform_tru64_pre.GNU: * include/makeinclude/platform_unixware_g++.GNU: Removed the files because Tru64, Irix, Unixware, and SCO support are removed now
Diffstat (limited to 'ACE/ace/config-macros.h')
-rw-r--r--ACE/ace/config-macros.h47
1 files changed, 4 insertions, 43 deletions
diff --git a/ACE/ace/config-macros.h b/ACE/ace/config-macros.h
index ba8de9bcb9d..2aff0cdaa2f 100644
--- a/ACE/ace/config-macros.h
+++ b/ACE/ace/config-macros.h
@@ -120,45 +120,6 @@
# endif /* ACE_USES_FIFO_SEM */
// =========================================================================
-// RCSID Macros
-// =========================================================================
-
-// By default, DO NOT include RCS Id strings in object code.
-#if ! defined (ACE_USE_RCSID)
-# define ACE_USE_RCSID 0
-#endif /* #if ! defined (ACE_USE_RCSID) */
-
-#if (defined (ACE_USE_RCSID) && (ACE_USE_RCSID != 0))
-# if ! defined (ACE_RCSID)
-
- // This hack has the following purposes:
- // 1. To define the RCS id string variable as a static char*, so
- // that there won't be any duplicate extern symbols at link
- // time.
- // 2. To have a RCS id string variable with a unique name for each
- // file.
- // 3. To avoid warnings of the type "variable declared and never
- // used".
-
-# define ACE_RCSID(path, file, id) \
- static inline const char* get_rcsid_ ## path ## _ ## file (const char*) \
- { \
- return id ; \
- } \
- static const char* rcsid_ ## path ## _ ## file = \
- get_rcsid_ ## path ## _ ## file ( rcsid_ ## path ## _ ## file ) ;
-
-# endif /* #if ! defined (ACE_RCSID) */
-#else
-
- // RCS id strings are not wanted.
-# if defined (ACE_RCSID)
-# undef ACE_RCSID
-# endif /* #if defined (ACE_RCSID) */
-# define ACE_RCSID(path, file, id) /* noop */
-#endif /* #if (defined (ACE_USE_RCSID) && (ACE_USE_RCSID != 0)) */
-
-// =========================================================================
// INLINE macros
//
// These macros handle all the inlining of code via the .i or .inl files
@@ -266,7 +227,7 @@
#if !defined (ACE_UNUSED_ARG)
# if defined (__GNUC__) && ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)))
# define ACE_UNUSED_ARG(a) (void) (a)
-# elif defined (__GNUC__) || defined (ghs) || defined (__hpux) || defined (__sgi) || defined (__DECCXX) || defined (__rational__) || defined (__USLC__) || defined (ACE_RM544) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM)
+# elif defined (__GNUC__) || defined (ghs) || defined (__hpux) || defined (__DECCXX) || defined (__rational__) || defined (__USLC__) || defined (ACE_RM544) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM)
// Some compilers complain about "statement with no effect" with (a).
// This eliminates the warnings, and no code is generated for the null
// conditional statement. @note that may only be true if -O is enabled,
@@ -281,11 +242,11 @@
# endif /* ghs || __GNUC__ || ..... */
#endif /* !ACE_UNUSED_ARG */
-#if defined (_MSC_VER) || defined(__sgi) || defined (ghs) || defined (__DECCXX) || defined(__BORLANDC__) || defined (ACE_RM544) || defined (__USLC__) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM) || (defined (__HP_aCC) && (__HP_aCC < 40000 || __HP_aCC >= 60500))
+#if defined (_MSC_VER) || defined (ghs) || defined (__DECCXX) || defined(__BORLANDC__) || defined (ACE_RM544) || defined (__USLC__) || defined (__DCC__) || defined (__PGI) || defined (__TANDEM) || (defined (__HP_aCC) && (__HP_aCC < 40000 || __HP_aCC >= 60500))
# define ACE_NOTREACHED(a)
-#else /* __sgi || ghs || ..... */
+#else /* ghs || ..... */
# define ACE_NOTREACHED(a) a
-#endif /* __sgi || ghs || ..... */
+#endif /* ghs || ..... */
// ============================================================================
// ACE_ALLOC_HOOK* macros