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

make error #6

Closed
ghost opened this issue Nov 19, 2022 · 3 comments
Closed

make error #6

ghost opened this issue Nov 19, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 19, 2022

Hello!
Got the following:

[ 33%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o
In file included from /home/tolstoevsky/git/weechat-xmpp/deps/fmt/src/format.cc:8:
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h: In instantiation of ‘int fmt::v8::detail::format_float(T, int, float_specs, buffer<char>&) [with T = long double]’:
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/src/format.cc:111:64:   required from here
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h:2253:48: error: use of deleted function ‘bool fmt::v8::detail::basic_fp<F>::assign(Float) [with Float = long double; typename std::enable_if<(! std::integral_constant<bool, (std::numeric_limits<Float>::is_iec559 && (std::numeric_limits<Float>::digits <= 64))>::value), int>::type <anonymous> = 0; F = long long unsigned int]’
 2253 |                                      : f.assign(convert_float(value));
      |                                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h:278:8: note: declared here
  278 |   bool assign(Float) = delete;
      |        ^~~~~~
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h: In instantiation of ‘fmt::v8::detail::basic_fp<F>::basic_fp(Float) [with Float = long double; F = long long unsigned int]’:
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h:2234:31:   required from ‘int fmt::v8::detail::format_float(T, int, float_specs, buffer<char>&) [with T = long double]’
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/src/format.cc:111:64:   required from here
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h:243:11: error: use of deleted function ‘bool fmt::v8::detail::basic_fp<F>::assign(Float) [with Float = long double; typename std::enable_if<(! std::integral_constant<bool, (std::numeric_limits<Float>::is_iec559 && (std::numeric_limits<Float>::digits <= 64))>::value), int>::type <anonymous> = 0; F = long long unsigned int]’
  243 |     assign(n);
      |     ~~~~~~^~~
/home/tolstoevsky/git/weechat-xmpp/deps/fmt/include/fmt/format-inl.h:278:8: note: declared here
  278 |   bool assign(Float) = delete;
      |        ^~~~~~
make[5]: *** [CMakeFiles/fmt.dir/build.make:76: CMakeFiles/fmt.dir/src/format.cc.o] Error 1

Compiling under Debian bookworm. What am I doing wrong? :)

@bqv
Copy link
Owner

bqv commented Nov 20, 2022

ah, are you on aarch64?

fmtlib/fmt#2810 seems related!

Otherwise, I have no idea...

@ghost
Copy link
Author

ghost commented Nov 21, 2022

ah, are you on aarch64?

yep

fmtlib/fmt#2810 seems related!

Yes, looks like that's. Thanks.

@bqv
Copy link
Owner

bqv commented Jan 3, 2023

I've switched to using fmt as an external dep (until gcc13 and i can just drop it) so your problem should go away as long as you can get something working

@bqv bqv closed this as completed Jan 3, 2023
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

1 participant