Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Any compiling tests done on BOOST 1.55 without -std=c++11 and are there any corrections that need to

Brian TehAug 23 2014 — edited Aug 25 2014

Hi Steve,

Currently, are there any compiling tests done on BOOST 1.55 without -std=c++11 and are there any corrections that need to be applied? So far, I have applied some of my workarounds when compiling without C++11 mode (no -std=c++11):

1.boost/config/compiler/sunpro_cc.hpp

#define BOOST_NO_CXX11_AUTO_DECLARATIONS

#define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS

#define BOOST_NO_CXX11_CHAR16_T

#define BOOST_NO_CXX11_CHAR32_T

#define BOOST_NO_CXX11_CONSTEXPR

#define BOOST_NO_CXX11_DECLTYPE

#define BOOST_NO_CXX11_DECLTYPE_N3276

#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS

#define BOOST_NO_CXX11_DELETED_FUNCTIONS

#define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS

#define BOOST_NO_CXX11_EXTERN_TEMPLATE

#define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS

#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST

#define BOOST_NO_CXX11_LAMBDAS

#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS

#define BOOST_NO_CXX11_NOEXCEPT

#define BOOST_NO_CXX11_NULLPTR

#define BOOST_NO_CXX11_RANGE_BASED_FOR

#define BOOST_NO_CXX11_RAW_LITERALS

#define BOOST_NO_CXX11_RVALUE_REFERENCES

#define BOOST_NO_CXX11_SCOPED_ENUMS

#define BOOST_NO_SFINAE_EXPR

#define BOOST_NO_CXX11_STATIC_ASSERT

#define BOOST_NO_CXX11_TEMPLATE_ALIASES

#define BOOST_NO_CXX11_UNICODE_LITERALS

#define BOOST_NO_CXX11_VARIADIC_TEMPLATES

#define BOOST_NO_CXX11_VARIADIC_MACROS

#define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX

#define BOOST_NO_CXX11_USER_DEFINED_LITERALS

#define BOOST_NO_CXX11_ALIGNAS

#define BOOST_NO_CXX11_TRAILING_RESULT_TYPES

#define BOOST_NO_CXX11_INLINE_NAMESPACES

un-comment out all of above lines.

2. libs/log/src/dump.cpp

221:#error Boost.Log: Unexpected compiler

un-comment out the line

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2014
Added on Aug 23 2014
2 comments
1,642 views