From 67644425022c6c520debc2a47b1fa1c90f2cd59e Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 21 Jun 2021 08:45:31 +0200 Subject: Removed workarounds for very old broken HP compilers * ACE/ACEXML/common/ZipCharStream.cpp: * ACE/ace/OS_NS_signal.h: * ACE/ace/OS_NS_stdio.cpp: * ACE/ace/OS_TLI.h: * ACE/ace/SStringfwd.h: * ACE/ace/Stack_Trace.cpp: * ACE/tests/Bug_3709_Regression_Test.cpp: * ACE/tests/Compiler_Features_12_Test.cpp: * TAO/orbsvcs/orbsvcs/Security/SL2_SecurityManager.cpp: --- ACE/ace/OS_NS_signal.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'ACE/ace/OS_NS_signal.h') diff --git a/ACE/ace/OS_NS_signal.h b/ACE/ace/OS_NS_signal.h index fc0b8101aee..c09ef5e94e1 100644 --- a/ACE/ace/OS_NS_signal.h +++ b/ACE/ace/OS_NS_signal.h @@ -139,22 +139,7 @@ extern "C" ACE_BEGIN_VERSIONED_NAMESPACE_DECL -// This hack is needed to get around an odd and hard-to-reproduce problem -// with HP aC++. If struct sigaction is defined extern "C" and the sigaction -// function in namespace ACE_OS, the compiler sometimes gets confused. -// If we help it with this typedef, it's fine. User code should not use -// the ACE typedef - it will be removed without warning as soon as we can -// either drop support for the broken compilers or figure out how to reproduce -// it so it can be reported to HP and fixed. -// There's a similar hack in OS_TLI.h for struct t_optmgmt. -// Also see ChangeLog entries: -// Mon Jan 23 16:35:40 UTC 2006 Steve Huston -// Mon Jan 23 22:08:56 UTC 2006 Steve Huston -#if defined (__HP_aCC) && (__HP_aCC <= 37300) -typedef extern "C" struct sigaction ACE_SIGACTION; -#else typedef struct sigaction ACE_SIGACTION; -#endif namespace ACE_OS { -- cgit v1.2.1