Modify

Ticket #5319 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

BOOST_HAS_VARIADIC_TMPL defined in non-C++0x environment.

Reported by: Akira Takahashi <faithandbrave@…> Owned by: johnmaddock
Milestone: To Be Determined Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

in boost/config/compiler/gcc.hpp

// Variadic templates compiler: 
//   http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
#  if defined(__VARIADIC_TEMPLATES) || (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))
#    define BOOST_HAS_VARIADIC_TMPL
#  else
#    define BOOST_NO_VARIADIC_TEMPLATES
#  endif
#endif

Should add condition

defined(__GXX_EXPERIMENTAL_CXX0X__)

Attachments

Change History

comment:1 Changed 6 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [70019]) Don't enable GCC C++0x features in non-C++0x mode. Update tests to actually fail unless we're in C++0x mode. Fixes #5320. Fixes #5319.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.