Opened 12 years ago
Closed 12 years ago
#5320 closed Bugs (fixed)
variadic template used without -std=c++0x
Reported by: | Ralf W. Grosse-Kunstleve | Owned by: | John Maddock |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.45.0 | Severity: | Problem |
Keywords: | Cc: |
Description
boost svn trunk rev. 70018
Fedora 14 g++ (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
% cat ttct.cpp #include <boost/type_traits/common_type.hpp>
% g++ -c -Wall -I../boost ttct.cpp
boost/boost/type_traits/common_type.hpp:70:22: warning: variadic templates only available with -std=c++0x or -std=gnu++0x boost/boost/type_traits/common_type.hpp:150:46: warning: variadic templates only available with -std=c++0x or -std=gnu++0x
Note:
See TracTickets
for help on using tickets.
(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.