Skip to content

child lazy systems result in C++ error #116

@zaucy

Description

@zaucy

example:

system A {
  readonly Component;
  system B(lazy) {
    readonly Component;
  }
}
ERROR: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/include\utility(646,19): error C2338: static_assert failed: 'tuple index out of bounds' (compiling source file C:\Users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\src\example.ecsact.rt_entt.cc)
ERROR: C:\users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\include\entt\entity\view.hpp(501,36): error C2672: 'get': no matching overloaded function found (compiling source file C:\Users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\src\example.ecsact.rt_entt.cc)
ERROR: C:\Users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\src\example.ecsact.rt_entt.cc(391,18): error C7683: you cannot create a reference to 'void'
ERROR: C:\Users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\src\example.ecsact.rt_entt.cc(391,18): error C3313: 'c7': variable cannot have the type 'const auto &'
ERROR: C:\Users\zekew\_bazel_zekew\i5jjbyc4\execroot\_main\bazel-out\x64_windows-fastbuild\bin\ecsact_runtime.ecsact_binary\ecsact-build\src\example.ecsact.rt_entt.cc(391,18): error C2440: 'initializing': cannot convert from 'void' to 'int'
ERROR: Failed to compile ecsact runtime. Compiler MSVC Compiler exited with code 2
ERROR: Failed to cook recipe

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions