Modify

Opened 6 years ago

Closed 6 years ago

#5319 closed Bugs (fixed)

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

Reported by: Akira Takahashi <faithandbrave@…> Owned by: John Maddock
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 (0)

Change History (1)

comment:1 Changed 6 years ago by John Maddock

Resolution: fixed
Status: newclosed

(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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.