You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(carimbo) λ /opt/workspace/carimbolabs/carimbo/ main* cmake --build build --parallel 8
[ 2%] Building CXX object CMakeFiles/carimbo.dir/cmake_pch.hxx.pch
In file included from <built-in>:1:
In file included from /opt/workspace/carimbolabs/carimbo/build/CMakeFiles/carimbo.dir/cmake_pch.hxx:5:
In file included from /opt/workspace/carimbolabs/carimbo/src/anchor.hpp:3:
In file included from /opt/workspace/carimbolabs/carimbo/src/common.hpp:30:
In file included from /Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/sol.hpp:52:
In file included from /Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/stack.hpp:27:
In file included from /Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/trampoline.hpp:27:
In file included from /Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/types.hpp:28:
In file included from /Users/me/.conan2/p/sol2f5e2ff06954f4/p/include/sol/optional.hpp:33:
/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.
The text was updated successfully, but these errors were encountered:
for file in /home/runner/.conan2/p/sol2*/p/include/sol/optional_implementation.hpp; do
if [[ -f "$file" ]]; then
sed -i 's/this->construct(std::forward<Args>(args)...);/this->emplace(std::forward<Args>(args)...);/' "$file"
fi
done
Another thing is I was able to run this kind of code when using Clang 18.1.7.
But I encountered a bug that caused the code (also a template) that should have been able to compile to report an error,
I updated my Clang to 19.1.5, solved my error, meeting this error.
I think this might have to do with compiler doing stricter template argument checking.
What's your compiler? Version?
The text was updated successfully, but these errors were encountered: