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

b2 build fails on gcc 4.8 #360

Closed
3 tasks done
Lastique opened this issue Jan 23, 2024 · 1 comment
Closed
3 tasks done

b2 build fails on gcc 4.8 #360

Lastique opened this issue Jan 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Lastique
Copy link
Contributor

Make sure you completed the following tasks

Environment and version details

  • Operating System+version: Ubuntu 14.04.6 (Drone image)
  • Compiler+version: gcc 4.8.4
  • Shell: bash
  • B2 Version: Boost develop (commit 9890997)

Brief problem description

Boost.Config Drone CI fails to compile b2 with the following error:

value.cpp: In static member function 'static b2::value* b2::value::make(b2::object*)':
value.cpp:263:59: error: call of overloaded 'save(b2::object*&)' is ambiguous
  return value_cache().save<value_object, value_object>(obj);
                                                           ^
value.cpp:263:59: note: candidates are:
value.cpp:206:12: note: b2::value* b2::safe_value_cache::save(Args ...) [with Test = b2::value_object; Val = b2::value_object; Args = {b2::object*}; b2::value_ptr = b2::value*]
  value_ptr save(Args... args)
            ^
value.cpp:218:12: note: b2::value* b2::safe_value_cache::save(b2::object*) [with Test = b2::value_object; Val = b2::value_object; b2::value_ptr = b2::value*]
  value_ptr save(object * obj)
            ^

Steps to reproduce the issue

Run Boost.Config Drone CI.

@Lastique Lastique added the bug Something isn't working label Jan 23, 2024
@grafikrobot
Copy link
Member

This was fixed in 82b627a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants