Opened 8 years ago

Closed 8 years ago

#10500 closed Bugs (fixed)

gcc-5 is assumed to have variadic templates

Reported by: marc.glisse@… Owned by: John Maddock
Milestone: Boost 1.57.0 Component: config
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc: flast@…

Description

When __GNUC__ > 4, boost defines BOOST_HAS_VARIADIC_TMPL (and not BOOST_NO_CXX11_VARIADIC_TEMPLATES) without checking any of __cplusplus, __GXX_EXPERIMENTAL_CXX0X__ or __cpp_variadic_templates. Whatever the default ends up being in gcc-5, -std=c++98 will still be an option, so this needs to be changed.

Change History (4)

comment:1 by Kohei Takahashi <flast@…>, 8 years ago

Milestone: To Be DeterminedBoost 1.57.0

It's seems that is already fixed in develop (eec8085), but not merged into master yet.

comment:2 by Kohei Takahashi <flast@…>, 8 years ago

Cc: flast@… added

comment:3 by marc.glisse@…, 8 years ago

Ah, good, thanks :-) I checked master but forgot that in boost I should look at develop, sorry.

comment:4 by John Maddock, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.