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

sol/optional_implementation.hpp:2194:10: error: no member named 'construct' in 'optional<type-parameter-0-0 &>' #26195

Open
skhaz opened this issue Dec 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@skhaz
Copy link
Contributor

skhaz commented Dec 15, 2024

Description

When using sol2/3.3.1 and emsdk/3.1.72 as tool I got

/Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/optional_implementation.hpp:2194:10: error: no member named 'construct' in 'optional<type-parameter-0-0 &>'
 2194 |                         this->construct(std::forward<Args>(args)...);
      |                         ~~~~  ^
1 error generated.

I am not sure if this is a Conan issue, because emsdk plays around clang versions, and I have reported an issue with fmt some days ago.

Package and Environment Details

  • Package Name/Version: zlib/1.2.8
  • Operating System+version: Linux Ubuntu 18.04
  • Compiler+version: GCC 8
  • Docker image: conanio/gcc8
  • Conan version: conan 1.18.0
  • Python version: Python 3.7.4

Conan profile

[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
compiler=apple-clang
compiler.version=14
compiler.libcxx=libc++
build_type=Release
[options]
[conf]
[build_requires]
[env]

Steps to reproduce

Clone https://github.com/willtobyte/carimbo

Create a webassebly profile like this

cat ~/.conan2/profiles/webassembly
include(default)

[settings]
arch=wasm
os=Emscripten

[tool_requires]
*: emsdk/3.1.72

Run make configure build

Logs

Click to expand log
Put your log output here
@skhaz skhaz added the bug Something isn't working label Dec 15, 2024
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

1 participant