Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error of variadic template under gcc 4.6.3 #1008

Closed
sodevel opened this issue Jan 15, 2019 · 1 comment
Closed

Compile error of variadic template under gcc 4.6.3 #1008

sodevel opened this issue Jan 15, 2019 · 1 comment

Comments

@sodevel
Copy link

sodevel commented Jan 15, 2019

The following code fragment

#if FMT_GCC_VERSION && FMT_GCC_VERSION < 405 template <typename... T> struct is_constructible : std::false_type {}; #else template <typename... T> struct is_constructible : std::is_constructible<T...> {}; #endif

causes this error with gcc 4.6.3 on my Ubuntu 12.04 machine

/fmt/core.h:341:53: sorry, unimplemented: cannot expand 'T ...' into a fixed-length argument list

Rising the version check to 407 solves this issue for me, but i didn't test extensive if this causes any side effects.

@vitaut
Copy link
Contributor

vitaut commented Jan 16, 2019

Fixed in dad1eec. Thanks for reporting!

@vitaut vitaut closed this as completed Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants