Page MenuHome
Paste P2711

(An Untitled Masterwork)
ActivePublic

Authored by Ray Molenkamp (LazyDodo) on Jan 10 2022, 3:26 PM.
1>------ Build started: Project: blenlib_test, Configuration: Debug x64 ------
1>BLI_any_test.cc
1>k:\blendergit\blender\source\blender\blenlib\bli_any.hh(157): error C2131: expression did not evaluate to a constant
1>k:\blendergit\blender\source\blender\blenlib\bli_any.hh(157): note: failure was caused by a read of an uninitialized symbol
1>k:\blendergit\blender\source\blender\blenlib\bli_any.hh(157): note: see usage of 'std::is_same_v<int,blender::Any<ExtraInfo,InlineBufferCapacity,Alignment>>'
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(18): note: see reference to variable template 'const bool ?? :: ?? ::is_same_any_v<int>' being compiled
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(18): error C2440: 'initializing': cannot convert from 'int' to 'blender::Any<void,8,8>'
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(18): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(43): error C2440: 'initializing': cannot convert from 'blender::Map<int,int,4,blender::DefaultProbingStrategy,blender::DefaultHash<int32_t>,blender::DefaultEquality,blender::SimpleMapSlot<Key,Value>,blender::GuardedAllocator>' to 'blender::Any<void,8,8>'
1> with
1> [
1> Key=int,
1> Value=int
1> ]
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(43): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(65): error C2440: 'initializing': cannot convert from 'int' to 'blender::Any<void,8,8>'
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(65): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(66): error C2440: 'initializing': cannot convert from 'std::string' to 'blender::Any<void,8,8>'
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(66): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(101): error C2440: 'initializing': cannot convert from 'int' to 'blender::Any<blender::tests::ExtraSizeInfo,8,8>'
1>k:\blendergit\blender\source\blender\blenlib\tests\bli_any_test.cc(101): note: No constructor could take the source type, or constructor overload resolution was ambiguous
1>Done building project "blenlib_test.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Event Timeline