/* -*- C++ -*- */ // $Id$ // ============================================================================ // // = LIBRARY // ace // // = FILENAME // stdcpp.h // // = AUTHOR // Irfan and Tim and Darrell // // = DESCRIPTION // This file contains the portability ugliness for the Standard C++ // Library. As implementations of the "standard" emerge, this file // will need to be updated. // // ============================================================================ #if !defined (ACE_STDCPP_H) #define ACE_STDCPP_H #if !defined (ACE_USER_CONFIG_H) #define ACE_USER_CONFIG_H #include "ace/config.h" #endif /* ACE_USER_CONFIG_H */ #if !defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION) # if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0) # if defined (_MSC_VER) # pragma warning(disable: 4018 4114 4146 4245) # pragma warning(disable: 4663 4664 4665 4511 4512) # endif /* _MSC_VER */ // For some reason, The Standard C++ Library has decided to save space // and ommit the file extensions. # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ /* As more compilers conform to Draft 2, ACE should be modified to use the namespace instead of promoting names to the global namespace. For those compilers that don't support it yet, there could be a global struct that looks like: struct std { typedef ostream ::ostream; // ... } */ // In case iostream.h is not #included before this header . . . # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \ (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0) using std::istream; using std::ostream; using std::ofstream; using std::endl; using std::flush; using std::iostream; using std::cerr; using std::cout; using std::cin; using std::streambuf; using std::ios; # endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */ # if defined (_MSC_VER) # pragma warning(4: 4018 4114 4146 4245) # pragma warning(4: 4663 4664 4665 4512 4511) # endif /* _MSC_VER */ # else /* ACE_HAS_STANDARD_CPP_LIBRARY */ # include /**/ # include /**/ # if defined (ACE_WIN32) # if defined(_MSC_VER) // VSB # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # endif /* _MSC_VER */ # include /**/ // VSB # endif /* ACE_WIN32 */ # endif /* ACE_HAS_STANDARD_CPP_LIBRARY */ #endif /* ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */ // Now include the new standard headers (like cstdio) if using the // new standard. #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0) # if defined (_MSC_VER) # pragma warning(disable: 4018 4114 4146 4245) # pragma warning(disable: 4663 4664 4665 4511 4512) # endif /* _MSC_VER */ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # if defined (_MSC_VER) # pragma warning(4: 4018 4114 4146 4245) # pragma warning(4: 4663 4664 4665 4512 4511) # endif /* _MSC_VER */ #else /* ACE_HAS_STANDARD_CPP_LIBRARY && ACE_HAS_STANDARD_CPP_LIBRARY */ # include /**/ # include /**/ // NOTE: stdarg.h must be #included before stdio.h on LynxOS. # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ # include /**/ #endif /* ACE_HAS_STANDARD_CPP_LIBRARY && ACE_HAS_STANDARD_CPP_LIBRARY */ #endif /* ACE_STDCPP_H */