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

Build failure on CentOS7 with gcc6.2 #1547

Closed
iarspider opened this issue Feb 7, 2020 · 1 comment
Closed

Build failure on CentOS7 with gcc6.2 #1547

iarspider opened this issue Feb 7, 2020 · 1 comment

Comments

@iarspider
Copy link

Build log: fmt-6.1.2-build.log
Error message:

In file included from /mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/color.h:11:0,
                 from /mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/test/format-test.cc:26:
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h: In instantiation of ‘std::__cxx11::basic_string<_CharT> fmt::v6::internal::udl_formatter<Char, CHARS>::operator()(Args&& ...) const [with Args = {int}; Char = char; Char ...CHARS = {'{', '0', ':', '1', '0', '}'}]’:
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/test/format-test.cc:1996:3:   required from here
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:3421:77:   in constexpr expansion of ‘fmt::v6::internal::do_check_format_string<char, fmt::v6::internal::error_handler, {int}>(fmt::v6::basic_string_view<char>(((const char*)(& s)), 6ul), (fmt::v6::internal::error_handler(), fmt::v6::internal::error_handler()))’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:2620:28:   in constexpr expansion of ‘fmt::v6::internal::parse_format_string<true, char, fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>&>(s, checker)’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:2539:11:   in constexpr expansion of ‘(& handler)->fmt::v6::internal::format_string_checker<Char, ErrorHandler, Args>::on_format_specs<char, fmt::v6::internal::error_handler, {int}>((p + 1u), end)’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:2593:45:   in constexpr expansion of ‘((fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>*)this)->fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>::parse_funcs_[((fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>*)this)->fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>::arg_id_](((fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>*)this)->fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>::context_)’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:2562:21:   in constexpr expansion of ‘f.fmt::v6::formatter<T, Char, typename std::enable_if<(fmt::v6::internal::type_constant<T, Char>::value != custom_type), void>::type>::parse<fmt::v6::basic_format_parse_context<char> >(ctx)’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:2909:33:   in constexpr expansion of ‘(& ctx)->fmt::v6::basic_format_parse_context<Char, ErrorHandler>::error_handler<char, fmt::v6::internal::error_handler>()’
/mnt/build/jenkins/workspace/build/externals/fmt-6.1.2/src/fmt/6.1.2/include/fmt/format.h:3422:57: error: ‘fmt::v6::internal::format_string_checker<char, fmt::v6::internal::error_handler, int>::parse_context_type{fmt::v6::basic_string_view<char>{(((const char*)(& s)) + 3u), 3ul}, -1}’ is not a constant expression
             basic_string_view<Char>(s, sizeof...(CHARS)))
                                                         ^
@vitaut
Copy link
Contributor

vitaut commented Feb 10, 2020

Should be fixed in dc22360. Thanks for reporting!

@vitaut vitaut closed this as completed Feb 10, 2020
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